Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
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

    NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

    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