Skip to main content
A newer version of this page is available. .

HamburgerMenuBottomBarCheckBox.Icon Property

Gets or sets the button’s icon.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v18.2.dll

Declaration

public IconElement Icon { get; set; }

Property Value

Type Description
Windows.UI.Xaml.Controls.IconElement

An Windows.UI.Xaml.Controls.IconElement object that represents an icon UI element.

Remarks

The HamburgerMenuBottomBarCheckBox is an icon-only button. Use the Icon property to specify the button’s icon. You can use the following objects to specify the icon:

  • Windows.UI.Xaml.Controls.BitmapIcon,
  • Windows.UI.Xaml.Controls.FontIcon,
  • Windows.UI.Xaml.Controls.PathIcon,
  • Windows.UI.Xaml.Controls.SymbolIcon.

This property is also the content property of the button, thus you can specify the icon in XAML between the button’s opening and closing tags. See an example below.

<Layout:HamburgerMenuBottomBarCheckBox Placement="Right" IsChecked="{Binding IsCheckBoxChecked, Mode=TwoWay}">
    <FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xE008;"/>
</Layout:HamburgerMenuBottomBarCheckBox>
See Also