Skip to main content

HamburgerMenuBottomBarRadioButton.Icon Property

Gets or sets the button’s icon.

Namespace: DevExpress.UI.Xaml.Layout

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public IconElement Icon { get; set; }

Property Value

Type Description
IconElement

An IconElement object that represents an icon UI element.

Remarks

The HamburgerMenuBottomBarRadioButton 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:HamburgerMenuBottomBarRadioButton GroupName="AppGroup" IsChecked="{Binding IsCalendarRadioButtonChecked, Mode=TwoWay}">
    <FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xE787;" />
</Layout:HamburgerMenuBottomBarRadioButton>
<Layout:HamburgerMenuBottomBarRadioButton GroupName="AppGroup" IsChecked="{Binding IsMailRadioButtonChecked, Mode=TwoWay}">
    <FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xE715;" />
</Layout:HamburgerMenuBottomBarRadioButton>
See Also