C# Класс Yuhan.WPF.Helpers.GridHelpers

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ColumnCountProperty System.Windows.DependencyProperty
ColumnGridUnitType System.Windows.DependencyProperty
RowCountProperty System.Windows.DependencyProperty
RowGridUnitType System.Windows.DependencyProperty
StarColumnsProperty System.Windows.DependencyProperty
StarRowsProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ColumnCountChanged() публичный статический Метод

public static ColumnCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

GetColumnCount() публичный статический Метод

public static GetColumnCount ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
Результат int

GetColumnGridUnitType() публичный статический Метод

public static GetColumnGridUnitType ( DependencyObject obj ) : GridUnitType
obj System.Windows.DependencyObject
Результат GridUnitType

GetRowCount() публичный статический Метод

public static GetRowCount ( DependencyObject obj ) : int
obj System.Windows.DependencyObject
Результат int

GetRowGridUnitType() публичный статический Метод

public static GetRowGridUnitType ( DependencyObject obj ) : GridUnitType
obj System.Windows.DependencyObject
Результат GridUnitType

GetStarColumns() публичный статический Метод

public static GetStarColumns ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Результат string

GetStarRows() публичный статический Метод

public static GetStarRows ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Результат string

RowCountChanged() публичный статический Метод

public static RowCountChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

SetColumnCount() публичный статический Метод

public static SetColumnCount ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
Результат void

SetColumnGridUnitType() публичный статический Метод

public static SetColumnGridUnitType ( DependencyObject obj, GridUnitType value ) : void
obj System.Windows.DependencyObject
value GridUnitType
Результат void

SetRowCount() публичный статический Метод

public static SetRowCount ( DependencyObject obj, int value ) : void
obj System.Windows.DependencyObject
value int
Результат void

SetRowGridUnitType() публичный статический Метод

public static SetRowGridUnitType ( DependencyObject obj, GridUnitType value ) : void
obj System.Windows.DependencyObject
value GridUnitType
Результат void

SetStarColumns() публичный статический Метод

public static SetStarColumns ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Результат void

SetStarRows() публичный статический Метод

public static SetStarRows ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Результат void

StarColumnsChanged() публичный статический Метод

public static StarColumnsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

StarRowsChanged() публичный статический Метод

public static StarRowsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
obj System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Результат void

Описание свойств

ColumnCountProperty публичное статическое свойство

Adds the specified number of Columns to ColumnDefinitions. Default Width is Auto
public static DependencyProperty,System.Windows ColumnCountProperty
Результат System.Windows.DependencyProperty

ColumnGridUnitType публичное статическое свойство

public static DependencyProperty,System.Windows ColumnGridUnitType
Результат System.Windows.DependencyProperty

RowCountProperty публичное статическое свойство

Adds the specified number of Rows to RowDefinitions. Default Height is Auto
public static DependencyProperty,System.Windows RowCountProperty
Результат System.Windows.DependencyProperty

RowGridUnitType публичное статическое свойство

public static DependencyProperty,System.Windows RowGridUnitType
Результат System.Windows.DependencyProperty

StarColumnsProperty публичное статическое свойство

Makes the specified Column's Width equal to Star. Can set on multiple Columns
public static DependencyProperty,System.Windows StarColumnsProperty
Результат System.Windows.DependencyProperty

StarRowsProperty публичное статическое свойство

Makes the specified Row's Height equal to Star. Can set on multiple Rows
public static DependencyProperty,System.Windows StarRowsProperty
Результат System.Windows.DependencyProperty