Class QuickAccessToolBarPanel
Items panel for QuickAccessToolBar layout.
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class QuickAccessToolBarPanel : Panel
Constructors
QuickAccessToolBarPanel()
Initializes a new instance of the QuickAccessToolBarPanel class.
Declaration
public QuickAccessToolBarPanel()
Fields
GeometryBackgroundProperty
Defines geometry background color or gradient. This is a dependency property.
Declaration
public static readonly DependencyProperty GeometryBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
GeometryStrokeProperty
Defines geometry stroke color. This is a dependency property.
Declaration
public static readonly DependencyProperty GeometryStrokeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
GeometryStrokeThicknessProperty
Defines geometry stroke thickness. This is a dependency property.
Declaration
public static readonly DependencyProperty GeometryStrokeThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HasGeometryProperty
Defines when panel has geometry. This is a dependency property.
Declaration
public static readonly DependencyProperty HasGeometryProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
GeometryBackground
Gets or sets the value of the GeometryBackground dependency property.
Declaration
public Brush GeometryBackground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
GeometryStroke
Gets or sets the value of the GeometryStroke dependency property.
Declaration
public Brush GeometryStroke { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
GeometryStrokeThickness
Gets or sets the value of the GeometryStrokeThickness dependency property.
Declaration
public double GeometryStrokeThickness { get; set; }
Property Value
Type |
---|
System.Double |
HasGeometry
Gets or sets a value indicating whether this instance has geometry.
Declaration
public bool HasGeometry { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
ArrangeOverride(Size)
Arranges children.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
System.Windows.Size | The actual size used. |
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
Type | Description |
---|---|
System.Windows.Size | The size that this element determines it needs during layout, based on its calculations of child element sizes. |
OnGeometryBackgroundChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises GeometryBackgroundChanged event.
Declaration
protected virtual void OnGeometryBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property changes details, such as old value and new value. |
OnGeometryStrokeChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises GeometryStrokeChanged event.
Declaration
protected virtual void OnGeometryStrokeChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property changes details, such as old value and new value. |
OnGeometryStrokeThicknessChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises GeometryStrokeThicknessChanged event.
Declaration
protected virtual void OnGeometryStrokeThicknessChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property changes details, such as old value and new value. |
OnHasGeometryChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises HasGeometryChanged event.
Declaration
protected virtual void OnHasGeometryChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property changes details, such as old value and new value. |
OnRender(DrawingContext)
Draws the content of a DrawingContext object during the render pass of a Panel element.
Declaration
protected override void OnRender(DrawingContext drawingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | drawingContext | The DrawingContext object to draw. |
Events
GeometryBackgroundChanged
Event that is raised when GeometryBackground property is changed.
Declaration
public event PropertyChangedCallback GeometryBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
GeometryStrokeChanged
Event that is raised when GeometryStroke property is changed.
Declaration
public event PropertyChangedCallback GeometryStrokeChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
GeometryStrokeThicknessChanged
Event that is raised when GeometryStrokeThickness property is changed.
Declaration
public event PropertyChangedCallback GeometryStrokeThicknessChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
HasGeometryChanged
Event that is raised when HasGeometry property is changed.
Declaration
public event PropertyChangedCallback HasGeometryChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |