Class LargeButtonPanel
This class is responsible for layout of the ribbon bar content.
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class LargeButtonPanel : Panel
Constructors
LargeButtonPanel()
Initializes a new instance of the LargeButtonPanel class.
Declaration
public LargeButtonPanel()
Fields
C_PanelHeight
Height of the panel in pixels.
Declaration
public const int C_PanelHeight = 67
Field Value
Type |
---|
System.Int32 |
ItemHeightProperty
Identifies Item height. This is dependency property.
Declaration
public static readonly DependencyProperty ItemHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ItemWidthProperty
Identifies Item width. This is dependency property.
Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
ItemHeight
Gets or sets item height.
Declaration
public double ItemHeight { get; set; }
Property Value
Type |
---|
System.Double |
ItemWidth
Gets or sets item width.
Declaration
public double ItemWidth { get; set; }
Property Value
Type |
---|
System.Double |
VisualChildrenCount
Gets count of visual children.
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Type |
---|
System.Int32 |
Methods
ArrangeOverride(Size)
Positions child elements and determines a size for a panel.
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. |
GetVisualChild(Int32)
Gets visual child by index.
Declaration
protected override Visual GetVisualChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the visual object in the VisualCollection. |
Returns
Type | Description |
---|---|
System.Windows.Media.Visual | The child in the VisualCollection at the specified index value. |
MeasureOverride(Size)
Measures the size in layout required for child elements and determines a size for a panel.
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. |