다음을 통해 공유


RibbonOfficeMenu.Items 속성

정의

Microsoft Office 메뉴에 추가한 리본 컨트롤을 가져옵니다.

public:
 property System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonControl ^> ^ Items { System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonControl ^> ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonControl> Items { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Items : System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonControl>
Public ReadOnly Property Items As IList(Of RibbonControl)

속성 값

디자인 타임 또는 런타임에 Microsoft Office 메뉴에 추가한 리본 컨트롤의 컬렉션입니다.

특성

예외

리본이 로드된 후 RibbonControl의 추가, 제거 또는 교체를 시도합니다.

설명

런타임에 리본이 로드되기 전에만 컨트롤을 추가할 수 있습니다. 컨트롤의 instance 만든 다음 컬렉션에 새 컨트롤을 추가합니다Items. 자세한 내용은 리본 개체 모델 개요를 참조하세요.

리본 Designer 사용하여 Microsoft Office 메뉴에 컨트롤을 추가하면 Visual Studio에서 컨트롤을 속성에 Items 자동으로 추가합니다.

적용 대상