C# Class Yuhan.WPF.Helpers.GridHelpers

Exibir arquivo Open project: hansuky/Yuhan

Public Properties

Property Type Description
ColumnCountProperty System.Windows.DependencyProperty
ColumnGridUnitType System.Windows.DependencyProperty
RowCountProperty System.Windows.DependencyProperty
RowGridUnitType System.Windows.DependencyProperty
StarColumnsProperty System.Windows.DependencyProperty
StarRowsProperty System.Windows.DependencyProperty

Public Methods

Method Description
ColumnCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
GetColumnCount ( DependencyObject obj ) : int
GetColumnGridUnitType ( DependencyObject obj ) : GridUnitType
GetRowCount ( DependencyObject obj ) : int
GetRowGridUnitType ( DependencyObject obj ) : GridUnitType
GetStarColumns ( DependencyObject obj ) : string
GetStarRows ( DependencyObject obj ) : string
RowCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetColumnCount ( DependencyObject obj, int value ) : void
SetColumnGridUnitType ( DependencyObject obj, GridUnitType value ) : void
SetRowCount ( DependencyObject obj, int value ) : void
SetRowGridUnitType ( DependencyObject obj, GridUnitType value ) : void
SetStarColumns ( DependencyObject obj, string value ) : void
SetStarRows ( DependencyObject obj, string value ) : void
StarColumnsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
StarRowsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Private Methods

Method Description
ColumnGridUnitTypeChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
GetGridLength ( GridUnitType type ) : GridLength
RowGridUnitTypeChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetStarColumns ( Grid grid ) : void
SetStarRows ( Grid grid ) : void

Method Details

ColumnCountChanged() public static method

public static ColumnCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

GetColumnCount() public static method

public static GetColumnCount ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
return int

GetColumnGridUnitType() public static method

public static GetColumnGridUnitType ( DependencyObject obj ) : GridUnitType
obj System.Windows.DependencyObject
return GridUnitType

GetRowCount() public static method

public static GetRowCount ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
return int

GetRowGridUnitType() public static method

public static GetRowGridUnitType ( DependencyObject obj ) : GridUnitType
obj System.Windows.DependencyObject
return GridUnitType

GetStarColumns() public static method

public static GetStarColumns ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetStarRows() public static method

public static GetStarRows ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

RowCountChanged() public static method

public static RowCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

SetColumnCount() public static method

public static SetColumnCount ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
return void

SetColumnGridUnitType() public static method

public static SetColumnGridUnitType ( DependencyObject obj, GridUnitType value ) : void
obj System.Windows.DependencyObject
value GridUnitType
return void

SetRowCount() public static method

public static SetRowCount ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
return void

SetRowGridUnitType() public static method

public static SetRowGridUnitType ( DependencyObject obj, GridUnitType value ) : void
obj System.Windows.DependencyObject
value GridUnitType
return void

SetStarColumns() public static method

public static SetStarColumns ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetStarRows() public static method

public static SetStarRows ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

StarColumnsChanged() public static method

public static StarColumnsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

StarRowsChanged() public static method

public static StarRowsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

Property Details

ColumnCountProperty public_oe static_oe property

Adds the specified number of Columns to ColumnDefinitions. Default Width is Auto
public static DependencyProperty,System.Windows ColumnCountProperty
return System.Windows.DependencyProperty

ColumnGridUnitType public_oe static_oe property

public static DependencyProperty,System.Windows ColumnGridUnitType
return System.Windows.DependencyProperty

RowCountProperty public_oe static_oe property

Adds the specified number of Rows to RowDefinitions. Default Height is Auto
public static DependencyProperty,System.Windows RowCountProperty
return System.Windows.DependencyProperty

RowGridUnitType public_oe static_oe property

public static DependencyProperty,System.Windows RowGridUnitType
return System.Windows.DependencyProperty

StarColumnsProperty public_oe static_oe property

Makes the specified Column's Width equal to Star. Can set on multiple Columns
public static DependencyProperty,System.Windows StarColumnsProperty
return System.Windows.DependencyProperty

StarRowsProperty public_oe static_oe property

Makes the specified Row's Height equal to Star. Can set on multiple Rows
public static DependencyProperty,System.Windows StarRowsProperty
return System.Windows.DependencyProperty