Class MenuAdv
MenuAdv class
Inheritance
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
public class MenuAdv : ItemsControl
Constructors
MenuAdv()
Declaration
public MenuAdv()
Fields
ExpandModeProperty
Using a DependencyProperty as the backing store for Expand modes. This enables the Expand on click or expand on mouse over supports...
Declaration
public static readonly DependencyProperty ExpandModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FocusOnAltProperty
Using a DependencyProperty as the backing store for IsFocusonAltKey. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FocusOnAltProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsScrollEnabledProperty
Using a DependencyProperty as the backing store for Scrollability. This enables scrolling of the submenu items...
Declaration
public static readonly DependencyProperty IsScrollEnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OrientationProperty
Using a DependencyProperty as the backing store for Orientation. This enables the orientation of the MenuAdv...
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PopUpAnimationTypeProperty
Using a DependencyProperty as the backing store for Popup Animation. This enables the animation of popup like fade, slide or scroll.
Declaration
public static readonly DependencyProperty PopUpAnimationTypeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
ExpandMode
Gets or sets the expand mode.
Declaration
public ExpandModes ExpandMode { get; set; }
Property Value
Type | Description |
---|---|
ExpandModes | The expand mode. |
FocusOnAlt
Declaration
public bool FocusOnAlt { get; set; }
Property Value
Type |
---|
System.Boolean |
IsScrollEnabled
Gets or sets a value indicating whether this instance is menu item scrollability enabled.
Declaration
public bool IsScrollEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Orientation
Gets or sets the orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.Orientation | The orientation. |
PopUpAnimationType
Gets or sets the type of the pop up animation.
Declaration
public AnimationTypes PopUpAnimationType { get; set; }
Property Value
Type | Description |
---|---|
AnimationTypes | The type of the pop up animation. |
Methods
Dispose()
Releases all the resources used by this component.
Declaration
public void Dispose()
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
System.Windows.DependencyObject | The element that is used to display the given item. |
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own container.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the item is (or is eligible to be) its own container; otherwise, false. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
OnMouseEnter(MouseEventArgs)
Called before the System.Windows.UIElement.MouseEnter event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The data for the event. |
OnMouseLeave(MouseEventArgs)
Called before the System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The data for the event. |
OnPreviewKeyUp(KeyEventArgs)
Declaration
protected override void OnPreviewKeyUp(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element used to display the specified item. |
System.Object | item | The item to display. |