Edit

Share via


RibbonControlSizeDefinition.ImageSize Property

Definition

Gets or sets a value that indicates how to show the image on a control.

public:
 property System::Windows::Controls::Ribbon::RibbonImageSize ImageSize { System::Windows::Controls::Ribbon::RibbonImageSize get(); void set(System::Windows::Controls::Ribbon::RibbonImageSize value); };
public System.Windows.Controls.Ribbon.RibbonImageSize ImageSize { get; set; }
member this.ImageSize : System.Windows.Controls.Ribbon.RibbonImageSize with get, set
Public Property ImageSize As RibbonImageSize

Property Value

One of the enumeration values that specify how to show the image on a control. The registered default is Large. For more information about what can influence the value, see Dependency Property Value Precedence.

Remarks

A Ribbon control can display a Large image, a Small image, or the image can be Collapsed. If the control does not specify an image of the size that corresponds to the ImageSize setting, no image is displayed.

Dependency Property Information

Item Value
Identifier field ImageSizeProperty
Metadata properties set to true None

Applies to

See also