C# Class Yuhan.WPF.Helpers.GridHelpers

Afficher le fichier Open project: hansuky/Yuhan

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static ColumnCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

GetColumnCount() public static méthode

public static GetColumnCount ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
Résultat int

GetColumnGridUnitType() public static méthode

public static GetColumnGridUnitType ( DependencyObject obj ) : GridUnitType
obj System.Windows.DependencyObject
Résultat GridUnitType

GetRowCount() public static méthode

public static GetRowCount ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
Résultat int

GetRowGridUnitType() public static méthode

public static GetRowGridUnitType ( DependencyObject obj ) : GridUnitType
obj System.Windows.DependencyObject
Résultat GridUnitType

GetStarColumns() public static méthode

public static GetStarColumns ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Résultat string

GetStarRows() public static méthode

public static GetStarRows ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Résultat string

RowCountChanged() public static méthode

public static RowCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

SetColumnCount() public static méthode

public static SetColumnCount ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
Résultat void

SetColumnGridUnitType() public static méthode

public static SetColumnGridUnitType ( DependencyObject obj, GridUnitType value ) : void
obj System.Windows.DependencyObject
value GridUnitType
Résultat void

SetRowCount() public static méthode

public static SetRowCount ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
Résultat void

SetRowGridUnitType() public static méthode

public static SetRowGridUnitType ( DependencyObject obj, GridUnitType value ) : void
obj System.Windows.DependencyObject
value GridUnitType
Résultat void

SetStarColumns() public static méthode

public static SetStarColumns ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Résultat void

SetStarRows() public static méthode

public static SetStarRows ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Résultat void

StarColumnsChanged() public static méthode

public static StarColumnsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

StarRowsChanged() public static méthode

public static StarRowsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Résultat 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
Résultat System.Windows.DependencyProperty

ColumnGridUnitType public_oe static_oe property

public static DependencyProperty,System.Windows ColumnGridUnitType
Résultat 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
Résultat System.Windows.DependencyProperty

RowGridUnitType public_oe static_oe property

public static DependencyProperty,System.Windows RowGridUnitType
Résultat 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
Résultat 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
Résultat System.Windows.DependencyProperty