Skip to main content
A newer version of this page is available. .
All docs
V20.2

EnumItemsSourceBehavior.ImageSize Property

Gets or sets the item’s image size. This is a dependency property.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v20.2.dll

Declaration

public Size? ImageSize { get; set; }

Property Value

Type Description
Nullable<Size>

The image wide and height in pixels.

Remarks

<dxe:ComboBoxEdit Name="comboBoxEdit" ...>
    <dxmvvm:Interaction.Behaviors>
        <dxmvvm:EnumItemsSourceBehavior EnumType="{x:Type common:UserRole}" SortMode="DisplayName" ImageSize="20,20"/>
    </dxmvvm:Interaction.Behaviors>
</dxe:ComboBoxEdit>

EnumBeh-03

View Example

See Also