|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EmptyRow.cs" company="Catel development team">
// Copyright (c) 2008 - 2011 Catel development team. All rights reserved.
// </copyright>
// <summary>
// Control to fill up a row in the <see cref="StackGrid" /> control. This control will use an entire row to fill up.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
using System.Windows.Controls;
namespace Catel.Windows.Controls
{
/// <summary>
/// Control to fill up a row in the <see cref="StackGrid"/> control. This control will use an entire row to fill up.
/// </summary>
/// <example>
/// <code>
/// <StackGrid>
/// <StackGrid.RowDefinitions>
/// <RowDefinition Height="Auto" />
/// <RowDefinition Height="*" />
/// <RowDefinition Height="Auto" />
/// </StackGrid.RowDefinitions>
///
/// <StackGrid.ColumnDefinitions>
/// <ColumnDefinition Width="Auto" />
/// <ColumnDefinition Width="*" />
/// </StackGrid.ColumnDefinitions>
///
/// <!-- Name, will be set to row 0, column 1 and 2 -->
/// <Label Content="Name" />
/// <TextBox Text="{Bindng Name}" />
///
/// <!-- Empty row, will in this case use 2 columns -->
/// <EmptyRow />
///
/// <!-- Wrappanel, will span 2 columns -->
/// <WrapPanel StackGrid.ColumnSpan="2">
/// <Button Command="{Binding OK}" />
/// </WrapPanel>
/// </StackGrid>
/// </code>
/// </example>
public class EmptyRow : Control
{
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.