[]
        
(Showing Draft Content)

C1.Win.Command.HamburgerMenu.C1HamburgerMenu

C1HamburgerMenu Class

Represents a Windows Forms Hamburger Menu control.

Inheritance
C1HamburgerMenu
Implements
Namespace: C1.Win.Command.HamburgerMenu
Assembly: C1.Win.Command.HamburgerMenu.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1HamburgerMenu), "C1HamburgerMenu.png")]
public class C1HamburgerMenu : XView, IDisposable
<ToolboxBitmap(GetType(C1HamburgerMenu), "C1HamburgerMenu.png")>
Public Class C1HamburgerMenu
    Inherits XView
    Implements IDisposable

Constructors

Name Description
C1HamburgerMenu()

Initializes a new instance of the C1HamburgerMenu class.

Properties

Name Description
AllowWrapToNextLine

Gets or sets a value indicating whether child controls may wrap to the next available row when there is insufficient horizontal space during a push-content layout operation.

BackColor

Gets or sets control back color.

CollapsedMode

Gets or sets a value that determines the display mode of the C1HamburgerMenuItem when the C1HamburgerMenu is collapsed.

CollapsedWidth

Gets or sets the width of the C1HamburgerMenu when it is collapsed.

CreateParams
ExpandedMode

Gets or sets a value that determines the display mode of the C1HamburgerMenuItem when the C1HamburgerMenu is expanded.

ExpandedWidth

Gets or sets the width of the C1HamburgerMenu when it is expanded.

IsExpanded

Gets or sets a value indicating whether the C1HamburgerMenu is expanded.

Items

Gets collection of C1HamburgerMenuItem.

PushGap

Gets or sets the minimum horizontal spacing, in pixels, maintained between the push-content element and repositioned child controls.

SearchPanel

Gets the default C1HamburgerMenuSearchPanel of C1HamburgerMenu

ShowToolTips

Gets or sets a value that determines whether the C1HamburgerMenu should display a tooltip for item when ToolTipText is defined for this item.

Styles

Gets HamburgerMenuStyles C1HamburgerMenu styles.

ToggleButton

Gets the C1HamburgerMenuToggleButton of C1HamburgerMenu

Methods

Name Description
ApplySearch(string, SearchHighlightMode)

Applies search to the data on the menu.

ApplySearch(string, SearchHighlightMode, bool)

Applies search to the data on the menu.

ApplySearch(string, SearchHighlightMode, bool, bool)

Applies search to the data on the menu.

ApplySearch(string, SearchHighlightMode, bool, bool, out int)

Applies search to the data on the menu.

ApplyStyle(BaseThemeProvider, bool)

Applies styles to C1HamburgerMenu control.

Dispose(bool)
OnEnabledChanged(EventArgs)
OnItemSelected(ItemSelectedEventArgs)

Raises the ItemSelected event.

OnLayout(LayoutEventArgs)
OnPaint(PaintEventArgs)
OnParentChanged(EventArgs)
OnPushContentControlMoved(PushContentControlEventArgs)

Raises the PushContentControlMoved event.

OnPushContentControlMoving(PushContentControlEventArgs)

Raises the PushContentControlMoving event.

OnPushContentLayoutFinished(PushContentLayoutEventArgs)

Raises the PushContentLayoutFinished event.

OnPushContentLayoutStarting(PushContentLayoutEventArgs)

Raises the PushContentLayoutStarting event.

OnRightToLeftChanged(EventArgs)
OnScrollSizeChanged()
OnSearchApplied(SearchAppliedEventArgs)

Raises the SearchApplied event.

OnSearchApplying(SearchApplyingEventArgs)

Raises the SearchApplying event.

OnVisibleChanged(EventArgs)

Events

Name Description
ItemSelected

Occurs when an C1HamburgerMenuItem is selected.

PushContentControlMoved

Occurs after a child control is repositioned by the PushContent layout algorithm.

PushContentControlMoving

Occurs before a child control is repositioned by the PushContent layout algorithm.

PushContentLayoutFinished

Occurs after the PushContent layout operation has completed.

PushContentLayoutStarting

Occurs before the PushContent layout operation begins.

SearchApplied

Occurs after the search operation.

SearchApplying

Occurs before the search operation.