RibbonSplitButtonGallery 생성자 (String, ICommandId, Object, ICommandId, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap)
버전 2에 적용
RibbonSplitButtonGallery 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.WebMatrix.Extensibility
어셈블리: Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)
구문
‘선언
Public Sub New ( _
label As String, _
commandId As ICommandId, _
commandParameter As Object, _
galleryCommandId As ICommandId, _
categories As IEnumerable(Of RibbonGalleryCategory), _
smallImage As Bitmap, _
largeImage As Bitmap _
)
‘사용 방법
Dim label As String
Dim commandId As ICommandId
Dim commandParameter As Object
Dim galleryCommandId As ICommandId
Dim categories As IEnumerable(Of RibbonGalleryCategory)
Dim smallImage As Bitmap
Dim largeImage As Bitmap
Dim instance As New RibbonSplitButtonGallery(label, commandId, _
commandParameter, galleryCommandId, _
categories, smallImage, largeImage)
public RibbonSplitButtonGallery(
string label,
ICommandId commandId,
Object commandParameter,
ICommandId galleryCommandId,
IEnumerable<RibbonGalleryCategory> categories,
Bitmap smallImage,
Bitmap largeImage
)
public:
RibbonSplitButtonGallery(
String^ label,
ICommandId^ commandId,
Object^ commandParameter,
ICommandId^ galleryCommandId,
IEnumerable<RibbonGalleryCategory^>^ categories,
Bitmap^ smallImage,
Bitmap^ largeImage
)
new :
label:string *
commandId:ICommandId *
commandParameter:Object *
galleryCommandId:ICommandId *
categories:IEnumerable<RibbonGalleryCategory> *
smallImage:Bitmap *
largeImage:Bitmap -> RibbonSplitButtonGallery
public function RibbonSplitButtonGallery(
label : String,
commandId : ICommandId,
commandParameter : Object,
galleryCommandId : ICommandId,
categories : IEnumerable<RibbonGalleryCategory>,
smallImage : Bitmap,
largeImage : Bitmap
)
매개 변수
label
유형: System.String항목의 레이블입니다.
commandId
유형: Microsoft.WebMatrix.Extensibility.ICommandId단추를 누를 때 호출할 명령 ID입니다.
commandParameter
유형: System.Object명령에 대한 명령 매개 변수입니다.
galleryCommandId
유형: Microsoft.WebMatrix.Extensibility.ICommandId갤러리 항목을 선택할 때 호출할 명령 ID입니다.
categories
유형: System.Collections.Generic.IEnumerable<RibbonGalleryCategory>갤러리에 표시할 범주 시퀀스입니다.
smallImage
유형: System.Drawing.Bitmap단추의 16x16 이미지입니다.
largeImage
유형: System.Drawing.Bitmap단추의 32x32 이미지입니다.