C# Класс Open.Core.UI.Controls.AutoGrid

Automatically generates rows and columns based on a data-source.
Any 'RowDefinition' and 'ColumnDefinition' items that are declared within the Grid are overridden by the control. Declare columns using the extended 'Columns' propertying with the 'AutoColumnDefinition' object.
Наследование: System.Windows.Controls.Grid
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ItemsSourceProperty System.Windows.DependencyProperty
MaxRowHeightProperty System.Windows.DependencyProperty
MinRowHeightProperty System.Windows.DependencyProperty
RowHeightProperty System.Windows.DependencyProperty

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

Метод Описание
AutoGrid ( ) : System.Linq
HandleLoaded ( object sender, RoutedEventArgs e ) : void

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

Метод Описание
InitializeColumns ( ) : void
InsertRow ( int rowIndex, object model ) : void
LoadRows ( ) : void
OnItemsSourceChanged ( ) : void
OnRowAdded ( int index ) : void
OnRowRemoved ( int index ) : void
ReIndexRows ( ) : void
RemoveRow ( int rowIndex ) : void

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

AutoGrid() публичный Метод

public AutoGrid ( ) : System.Linq
Результат System.Linq

HandleLoaded() публичный Метод

public HandleLoaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Результат void

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

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

Gets or sets the collection of items being generated within the grid.
public static DependencyProperty,System.Windows ItemsSourceProperty
Результат System.Windows.DependencyProperty

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

Gets or sets the maximum height to use when creating the row.
public static DependencyProperty,System.Windows MaxRowHeightProperty
Результат System.Windows.DependencyProperty

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

Gets or sets the minimum height to use when creating the row.
public static DependencyProperty,System.Windows MinRowHeightProperty
Результат System.Windows.DependencyProperty

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

Gets or sets the height to apply to use when creating the row.
public static DependencyProperty,System.Windows RowHeightProperty
Результат System.Windows.DependencyProperty