Class ToolBarTrayAdv
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
[SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Office2007Blue/Office2007BlueToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Office2007Black/Office2007BlackToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Office2007Silver/Office2007SilverToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Default, Type = typeof(ToolBarManager), XamlResource = "/Syncfusion.Shared.Wpf;component/Controls/ToolBarAdv/Themes/Default/DefaultToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Metro/MetroToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Transparent/TransparentToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Blend/BlendToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/VS2010/VS2010ToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Office2010Blue/Office2010BlueToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Office2010Black/Office2010BlackToolBarTrayAdvStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(ToolBarManager), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/ToolBarAdv/Themes/Office2010Silver/Office2010SilverToolBarTrayAdvStyle.xaml")]
public class ToolBarTrayAdv : Control
Constructors
ToolBarTrayAdv()
Initializes the new instance of ToolBarTrayAdv
Declaration
public ToolBarTrayAdv()
Fields
IsLockedProperty
Using a DependencyProperty as the backing store for IsLocked. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsLockedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OrientationProperty
Using a DependencyProperty as the backing store for Orientation. This enables,styling, binding, etc...
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ToolBarsProperty
Using a DependencyProperty as the backing store for ToolBars. This enables,styling, binding, etc...
Declaration
public static readonly DependencyProperty ToolBarsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
IsHostedInToolBarManager
Gets the value of IsHostedInToolBarManager
Declaration
public bool IsHostedInToolBarManager { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Returns the boolean value |
IsLocked
Gets or sets a value that indicates whether a Syncfusion.Windows.Tools.Controls.ToolBarAdv can be moved inside a Syncfusion.Windows.Tools.Controls.ToolBarTrayAdv.
Declaration
public bool IsLocked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the toolbar cannot be moved inside the toolbar tray; otherwise, false. The default is false. |
Orientation
Specifies the orientation of a Syncfusion.Windows.Tools.Controls.ToolBarTrayAdv.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.Orientation | The toolbartray orientation. The default is System.Windows.Controls.Orientation.Horizontal. |
ToolBars
Gets the ObservableCollection of Syncfusion.Windows.Tools.Controls. ToolBarAdv elements in the System.Windows.Controls.ToolBarTrayAdv.
Declaration
public ObservableCollection<ToolBarAdv> ToolBars { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ToolBarAdv> | A ObservableCollection of Syncfusion.Windows.Tools.Controls.ToolBarAdv objects. |
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The final area within the parent that this object should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
System.Windows.Size | The actual size that is used after the element is arranged in layout. |
MeasureOverride(Size)
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The available size that this object can give to child objects. Infinity (System.Double.PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available. |
Returns
Type | Description |
---|---|
System.Windows.Size | The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects; or based on other considerations, such as a fixed container size. |
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()