RibbonGallery.ItemImageSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a Size that gives the dimensions of the images that are displayed by the items in this RibbonGallery.
public:
property System::Drawing::Size ItemImageSize { System::Drawing::Size get(); void set(System::Drawing::Size value); };
public System.Drawing.Size ItemImageSize { get; set; }
member this.ItemImageSize : System.Drawing.Size with get, set
Public Property ItemImageSize As Size
Property Value
A Size that gives the dimensions of the images that are displayed by the items in this RibbonGallery.
Remarks
The RibbonGallery interface gives more control over the image size than either RibbonMenu or RibbonSplitButton. It is the only one of the three interfaces that enables you to specify an image width and height in pixels.
This property does not affect the size of images displayed on buttons in this RibbonGallery.