Class GalleryStackPanel
This class extends standard StackPanel, is used as item panel in Gallery in standard visual mode.
Inheritance
System.Object
GalleryStackPanel
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class GalleryStackPanel : StackPanel
Constructors
GalleryStackPanel()
Declaration
public GalleryStackPanel()
Methods
ArrangeOverride(Size)
Arranges the content.
Declaration
protected override Size ArrangeOverride(Size arrangeSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | arrangeSize | Size in which the content should be arranged. |
Returns
Type | Description |
---|---|
System.Windows.Size | The size where the content was arranged. |
MeasureOverride(Size)
Measures children in anticipation of arranging them during the ArrangeOverride pass.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | constraint | Size given for panel. |
Returns
Type | Description |
---|---|
System.Windows.Size | Size which is needed for the panel. |