GridColumnBoundsCalculator Class
Calculates the bounds of its parent Grid object's columns.
public class GridColumnBoundsCalculator : FrameworkElement
- Inheritance:
- object Visual UIElement FrameworkElement object
Constructors
GridColumnBoundsCalculator()
Initializes an instance of the class.
public GridColumnBoundsCalculator()
Properties
Column1Bounds
Gets the bounds of the first column.
public Rect Column1Bounds { get; }
Property Value
- Rect:
The bounds of the first column..
Column2Bounds
Gets the bounds of the second column.
public Rect Column2Bounds { get; }
Property Value
- Rect:
The bounds of the second column..
Methods
OnRenderSizeChanged(SizeChangedInfo)
Called when the rendered size of a control changes.
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
Parameter | Type | Description |
---|---|---|
sizeInfo | SizeChangedInfo | Specifies the size changes. |
Fields
Column1BoundsProperty
Identifies the Column1Bounds dependency property. This field is read-only.
public static readonly DependencyProperty Column1BoundsProperty
Column2BoundsProperty
Identifies the Column2Bounds dependency property. This field is read-only.
public static readonly DependencyProperty Column2BoundsProperty