C# Class ReversiEight.Common.GridUtils

Exibir arquivo Open project: ColinEberhardt/ReversiEight

Public Properties

Property Type Description
ColumnDefinitionsProperty Windows.UI.Xaml.DependencyProperty
RowDefinitionsProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetColumnDefinitions ( DependencyObject d ) : string

Gets the value of the ColumnDefinitions property

GetRowDefinitions ( DependencyObject d ) : string

Gets the value of the RowDefinitions property

SetColumnDefinitions ( DependencyObject d, string value ) : void

Sets the value of the ColumnDefinitions property

SetRowDefinitions ( DependencyObject d, string value ) : void

Sets the value of the RowDefinitions property

Private Methods

Method Description
OnColumnDefinitionsPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles property changed event for the ColumnDefinitions property, constructing the required ColumnDefinitions elements on the grid which this property is attached to.

OnRowDefinitionsPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles property changed event for the RowDefinitions property, constructing the required RowDefinitions elements on the grid which this property is attached to.

ParseLength ( string length ) : GridLength

Parses a string to create a GridLength

Method Details

GetColumnDefinitions() public static method

Gets the value of the ColumnDefinitions property
public static GetColumnDefinitions ( DependencyObject d ) : string
d Windows.UI.Xaml.DependencyObject
return string

GetRowDefinitions() public static method

Gets the value of the RowDefinitions property
public static GetRowDefinitions ( DependencyObject d ) : string
d Windows.UI.Xaml.DependencyObject
return string

SetColumnDefinitions() public static method

Sets the value of the ColumnDefinitions property
public static SetColumnDefinitions ( DependencyObject d, string value ) : void
d Windows.UI.Xaml.DependencyObject
value string
return void

SetRowDefinitions() public static method

Sets the value of the RowDefinitions property
public static SetRowDefinitions ( DependencyObject d, string value ) : void
d Windows.UI.Xaml.DependencyObject
value string
return void

Property Details

ColumnDefinitionsProperty public_oe static_oe property

Identifies the ColumnDefinitions attached property
public static DependencyProperty,Windows.UI.Xaml ColumnDefinitionsProperty
return Windows.UI.Xaml.DependencyProperty

RowDefinitionsProperty public_oe static_oe property

Identified the RowDefinitions attached property
public static DependencyProperty,Windows.UI.Xaml RowDefinitionsProperty
return Windows.UI.Xaml.DependencyProperty