The requested page is not available for the requested platform. You are viewing the content for Default platform.

HamburgerMenuBottomBarCheckBox Class

Represents an icon-only button in the HamburgerMenu's Bottom Bar that an end-user can select (check) or clear (uncheck).

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v19.1.dll

Declaration

[ContentProperty(Name = "Icon")]
[TemplatePart(Name = "PART_RootBorder", Type = typeof(Border))]
public class HamburgerMenuBottomBarCheckBox :
    HamburgerMenuCheckBoxBase,
    IHamburgerMenuBottomBarItem,
    IVisualItem
<ContentProperty(Name:="Icon")>
<TemplatePart(Name:="PART_RootBorder", Type:=GetType(Border))>
Public Class HamburgerMenuBottomBarCheckBox
    Inherits HamburgerMenuCheckBoxBase
    Implements IHamburgerMenuBottomBarItem,
               IVisualItem

Remarks

The HamburgerMenuBottomBarCheckBox control represents a button in the bottom bar of the HamburgerMenu. To add a button to this bar, use the HamburgerMenu.BottomBarItems collection, or use HamburgerMenu.BottomBarItemsSource property to provide a source of buttons.

In the bottom bar, the button can be left or right aligned. To specify the button's alignment, use the HamburgerMenuBottomBarCheckBox.Placement property. The HamburgerMenuBottomBarCheckBox is a selectable button and can be displayed in different states. To specify the button state, use its IsChecked property.

The HamburgerMenuBottomBarCheckBox only supports icons as its content. To specify the button's content, use the HamburgerMenuBottomBarCheckBox.Icon property, or define the content between the opening and closing HamburgerMenuBottomBarCheckBox tags as shown below.

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

Inheritance

Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Control
Windows.UI.Xaml.Controls.ContentControl
Windows.UI.Xaml.Controls.Primitives.ButtonBase
Windows.UI.Xaml.Controls.Primitives.ToggleButton
Windows.UI.Xaml.Controls.CheckBox
DevExpress.UI.Xaml.Layout.Internal.HamburgerMenuCheckBoxBase
HamburgerMenuBottomBarCheckBox

Implements

Windows.UI.Composition.IAnimationObject
DevExpress.UI.Xaml.Layout.Internal.IHamburgerMenuSupportCompactWidth
DevExpress.UI.Xaml.Internal.ISupportOwner<HamburgerMenu>
DevExpress.UI.Xaml.IIconProvider
DevExpress.UI.Xaml.Layout.Internal.IHamburgerMenuBottomBarItem
DevExpress.UI.Xaml.Internal.IVisualItem
See Also