Class PagesLayoutPanel
Represents the page lay out panel class for the TabSplitter
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class PagesLayoutPanel : DockPanel
Constructors
PagesLayoutPanel()
Initializes a new instance of the PagesLayoutPanel class.
Declaration
public PagesLayoutPanel()
Properties
VisualChildrenCount
Gets the number of child elements for the control.
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An Int32 value that represents the number of child elements. |
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.
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. |
GetLayoutClip(Size)
Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.
Declaration
protected override Geometry GetLayoutClip(Size layoutSlotSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | layoutSlotSize | The size of the part of the element that does visual presentation. |
Returns
Type | Description |
---|---|
System.Windows.Media.Geometry | The clipping geometry. |
GetVisualChild(Int32)
Returns a child at the specified index from a collection of child elements.
Declaration
protected override Visual GetVisualChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the requested child element in the collection. |
Returns
Type | Description |
---|---|
System.Windows.Media.Visual | The requested child element. This should not return null; if the provided index is out of range, an exception is raised. |
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. |
OnVisualParentChanged(DependencyObject)
Invoked when the parent of this element in the visual tree is changed. Overrides System.Windows.UIElement.OnVisualParentChanged(System.Windows.DependencyObject).
Declaration
protected override void OnVisualParentChanged(DependencyObject oldParent)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | oldParent | The old parent element. May be null to indicate that the element did not have a visual parent previously. |