Class GanttDockPanel
Arranges child elements around the edges of the panel. Optionally, last added child element can occupy the remaining space.
Inheritance
Namespace: Syncfusion.UI.Xaml.Gantt
Assembly: Syncfusion.SfGantt.UWP.dll
Syntax
public class GanttDockPanel : Panel
Constructors
GanttDockPanel()
Declaration
public GanttDockPanel()
Fields
DockProperty
The Dock property.
Declaration
public static readonly DependencyProperty DockProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ElementMarginProperty
The DependencyProperty for ElementMargin property.
Declaration
public static readonly DependencyProperty ElementMarginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
RootElementProperty
The DependencyProperty for RootElement property.
Declaration
public static readonly DependencyProperty RootElementProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
ElementMargin
Gets or sets the element margin. This is a dependency property.
Declaration
public Thickness ElementMargin { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Thickness | The element margin. |
RootElement
Gets or sets the root element. This is a dependency property.
Declaration
public UIElement RootElement { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | The root element. |
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 |
---|---|---|
Windows.Foundation.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | The actual size used. |
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 |
---|---|---|
Windows.Foundation.Size | availableSize | Available Size |
Returns
Type | Description |
---|---|
Windows.Foundation.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. |