C# Class iNGen.Helpers.GridUtils

Show file Open project: prom3theu5/iNGEN-Ark-RCON-Desktop

Public Properties

Property Type Description
ColumnDefinitionsProperty System.Windows.DependencyProperty
RowDefinitionsProperty System.Windows.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, System.Windows.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, System.Windows.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 System.Windows.DependencyObject
return string

GetRowDefinitions() public static method

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

SetColumnDefinitions() public static method

Sets the value of the ColumnDefinitions property
public static SetColumnDefinitions ( DependencyObject d, string value ) : void
d System.Windows.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 System.Windows.DependencyObject
value string
return void

Property Details

ColumnDefinitionsProperty public static property

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

RowDefinitionsProperty public static property

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