Class EdgePanel
Defines an area where you can arrange child elements either horizontally or vertically, relative to each other.
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting.Primitives
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public class EdgePanel : Panel
Constructors
| Improve this Doc View SourceEdgePanel()
Initializes a new instance of the EdgePanel class.
Declaration
public EdgePanel()
Fields
| Improve this Doc View SourceEdgeProperty
Identifies the Edge dependency property.
Declaration
public static readonly DependencyProperty EdgeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Methods
| Improve this Doc View SourceArrangeOverride(Size)
Arranges the content (child elements) of a EdgePanel element.
Declaration
protected override Size ArrangeOverride(Size arrangeSize)
Parameters
Type | Name | Description |
---|---|---|
Size | arrangeSize | The Size the EdgePanel uses to arrange its child elements. |
Returns
Type | Description |
---|---|
Size | The arranged size of the EdgePanel. |
Overrides
| Improve this Doc View SourceGetEdge(UIElement)
Gets the value of the Edge attached property for a specified UIElement.
Declaration
public static Edge GetEdge(UIElement element)
Parameters
Type | Name | Description |
---|---|---|
UIElement | element | The element from which the property value is read. |
Returns
Type | Description |
---|---|
Edge | The Edge property value for the element. |
MeasureOverride(Size)
Measures the children of a EdgePanel in anticipation of arranging them during the ArrangeOverride pass.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
Size | constraint | A maximum Size to not exceed. |
Returns
Type | Description |
---|---|
Size | The desired size of the EdgePanel. |
Overrides
| Improve this Doc View SourceSetEdge(UIElement, Edge)
Sets the value of the Edge attached property to a specified element.
Declaration
public static void SetEdge(UIElement element, Edge edge)
Parameters
Type | Name | Description |
---|---|---|
UIElement | element | The element to which the attached property is written. |
Edge | edge | The needed Edge value. |