RibbonControlSizeDefinition.ImageSize Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public RibbonImageSize ImageSize { get; set; }

Property Value

Type: System.Windows.Controls.Ribbon.RibbonImageSize

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.

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.

Identifier field

ImageSizeProperty

Metadata properties set to true

None

.NET Framework
Available since 4.5
Return to top
Show: