Class DropDownMenuGroup
Represents the DropDownMenGroup Class.
Inheritance
Implements
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
[SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/TransparentStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/Office2007BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/Office2010BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/Office2010BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/Office2010SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/BlendStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/VS2010Style.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyRed, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/ShinyRedStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyBlue, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/ShinyBlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Default, Type = typeof(DropDownMenuGroup), XamlResource = "/Syncfusion.Shared.WPF;component/Controls/ButtonControls/DropDownButton/Themes/DropDownButton.xaml")]
[SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/MetroStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/Office2007BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(DropDownMenuGroup), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ButtonControls/DropDownButton/Themes/Office2007SilverStyle.xaml")]
public class DropDownMenuGroup : HeaderedItemsControl, IDisposable
Constructors
DropDownMenuGroup()
Initializes a new instance of the DropDownMenuGroup class.
Declaration
public DropDownMenuGroup()
Fields
IconBarEnabledProperty
Using a DependencyProperty as the backing store for IsIconTrayEnabled.
Declaration
public static readonly DependencyProperty IconBarEnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsMoreItemsIconTrayEnabledProperty
Using a DependencyProperty as the backing store for IsMoreItemsIconTrayEnabled.
Declaration
public static readonly DependencyProperty IsMoreItemsIconTrayEnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsResizableProperty
Using a DependencyProperty as the backing store for IsResizable.
Declaration
public static readonly DependencyProperty IsResizableProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MoreItemsProperty
Using a DependencyProperty as the backing store for MoreItems.
Declaration
public static readonly DependencyProperty MoreItemsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ScrollBarVisibilityProperty
Using a DependencyProperty as the backing store for ScrollBarVisibility.
Declaration
public static readonly DependencyProperty ScrollBarVisibilityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
IconBarEnabled
Gets or sets a value indicating whether [icon bar enabled].
Declaration
public bool IconBarEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsMoreItemsIconTrayEnabled
Gets or sets a value indicating whether this instance is more items icon tray enabled.
Declaration
public bool IsMoreItemsIconTrayEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsResizable
Gets or sets a value indicating whether this instance is resizable.
Declaration
public bool IsResizable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MoreItems
Gets or sets the more items.
Declaration
public ObservableCollection<UIElement> MoreItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.Windows.UIElement> | The more items.The defult value is null |
ScrollBarVisibility
Gets or sets the scroll bar visibility.
Declaration
public ScrollBarVisibility ScrollBarVisibility { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.ScrollBarVisibility | The scroll bar visibility.The defult value is Disabled |
Methods
Dispose()
Dispose events and items
Declaration
public void Dispose()
OnApplyTemplate()
Builds the visual tree for the System.Windows.Controls.HeaderedItemsControl when a new template is applied.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Automation
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Called when some dependency property changed
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |