RibbonButtonGallery 생성자 (String, ICommand, IEnumerable<RibbonGalleryCategory>, Bitmap, Bitmap)
버전 2에 적용
지정된 레이블, 명령, 범주 및 이미지를 사용하여 RibbonButtonGallery 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.WebMatrix.Extensibility
어셈블리: Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)
구문
‘선언
Public Sub New ( _
label As String, _
galleryCommand As ICommand, _
categories As IEnumerable(Of RibbonGalleryCategory), _
smallImage As Bitmap, _
largeImage As Bitmap _
)
‘사용 방법
Dim label As String
Dim galleryCommand As ICommand
Dim categories As IEnumerable(Of RibbonGalleryCategory)
Dim smallImage As Bitmap
Dim largeImage As Bitmap
Dim instance As New RibbonButtonGallery(label, galleryCommand, _
categories, smallImage, largeImage)
public RibbonButtonGallery(
string label,
ICommand galleryCommand,
IEnumerable<RibbonGalleryCategory> categories,
Bitmap smallImage,
Bitmap largeImage
)
public:
RibbonButtonGallery(
String^ label,
ICommand^ galleryCommand,
IEnumerable<RibbonGalleryCategory^>^ categories,
Bitmap^ smallImage,
Bitmap^ largeImage
)
new :
label:string *
galleryCommand:ICommand *
categories:IEnumerable<RibbonGalleryCategory> *
smallImage:Bitmap *
largeImage:Bitmap -> RibbonButtonGallery
public function RibbonButtonGallery(
label : String,
galleryCommand : ICommand,
categories : IEnumerable<RibbonGalleryCategory>,
smallImage : Bitmap,
largeImage : Bitmap
)
매개 변수
label
유형: System.String레이블입니다.
galleryCommand
유형: System.Windows.Input.ICommand갤러리 명령입니다.
categories
유형: System.Collections.Generic.IEnumerable<RibbonGalleryCategory>범주입니다.
smallImage
유형: System.Drawing.Bitmap작은 이미지입니다.
largeImage
유형: System.Drawing.Bitmap큰 이미지입니다.