C# Class 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.
Inheritance: System.Windows.Controls.Grid
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Свойство Type Description
ItemsSourceProperty System.Windows.DependencyProperty
MaxRowHeightProperty System.Windows.DependencyProperty
MinRowHeightProperty System.Windows.DependencyProperty
RowHeightProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
AutoGrid ( ) : System.Linq
HandleLoaded ( object sender, RoutedEventArgs e ) : void

Private Methods

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

Method Details

AutoGrid() public méthode

public AutoGrid ( ) : System.Linq
Résultat System.Linq

HandleLoaded() public méthode

public HandleLoaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

Property Details

ItemsSourceProperty public_oe static_oe property

Gets or sets the collection of items being generated within the grid.
public static DependencyProperty,System.Windows ItemsSourceProperty
Résultat System.Windows.DependencyProperty

MaxRowHeightProperty public_oe static_oe property

Gets or sets the maximum height to use when creating the row.
public static DependencyProperty,System.Windows MaxRowHeightProperty
Résultat System.Windows.DependencyProperty

MinRowHeightProperty public_oe static_oe property

Gets or sets the minimum height to use when creating the row.
public static DependencyProperty,System.Windows MinRowHeightProperty
Résultat System.Windows.DependencyProperty

RowHeightProperty public_oe static_oe property

Gets or sets the height to apply to use when creating the row.
public static DependencyProperty,System.Windows RowHeightProperty
Résultat System.Windows.DependencyProperty