RibbonMenuButton 생성자 (String, IEnumerable<RibbonButton>, ImageSource, ImageSource)
버전 2에 적용
RibbonMenuButton 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.WebMatrix.Extensibility
어셈블리: Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)
구문
‘선언
Public Sub New ( _
label As String, _
items As IEnumerable(Of RibbonButton), _
smallImage As ImageSource, _
largeImage As ImageSource _
)
‘사용 방법
Dim label As String
Dim items As IEnumerable(Of RibbonButton)
Dim smallImage As ImageSource
Dim largeImage As ImageSource
Dim instance As New RibbonMenuButton(label, items, _
smallImage, largeImage)
public RibbonMenuButton(
string label,
IEnumerable<RibbonButton> items,
ImageSource smallImage,
ImageSource largeImage
)
public:
RibbonMenuButton(
String^ label,
IEnumerable<RibbonButton^>^ items,
ImageSource^ smallImage,
ImageSource^ largeImage
)
new :
label:string *
items:IEnumerable<RibbonButton> *
smallImage:ImageSource *
largeImage:ImageSource -> RibbonMenuButton
public function RibbonMenuButton(
label : String,
items : IEnumerable<RibbonButton>,
smallImage : ImageSource,
largeImage : ImageSource
)
매개 변수
label
유형: System.String항목의 레이블입니다.
items
유형: System.Collections.Generic.IEnumerable<RibbonButton>메뉴 단추를 누를 때 표시할 RibbonButtons 시퀀스입니다.
smallImage
유형: System.Windows.Media.ImageSource단추의 16x16 이미지입니다.
largeImage
유형: System.Windows.Media.ImageSource단추의 32x32 이미지입니다.