Class GridViewColumn
Extends GridViewColumn with MinWidth and MaxWidth properties. It can be used with ListView when in GridView mode.
public class GridViewColumn : GridViewColumn, INotifyPropertyChanged
- Inheritance
-
GridViewColumn
- Implements
- Inherited Members
Examples
<ui:ListView>
<ui:ListView.View>
<ui:GridView>
<ui:GridViewColumn
MinWidth="100"
MaxWidth="200"
DisplayMemberBinding="{Binding FirstName}"
Header="First Name" />
</ui:GridView>
</ui:ListView.View>
</ui:ListView>
Fields
MaxWidthProperty
Identifies the MaxWidth dependency property.
public static readonly DependencyProperty MaxWidthProperty
Field Value
MinWidthProperty
Identifies the MinWidth dependency property.
public static readonly DependencyProperty MinWidthProperty
Field Value
Properties
MaxWidth
gets or sets the maximum width of the column.
public double MaxWidth { get; set; }
Property Value
MinWidth
Gets or sets the minimum width of the column.
public double MinWidth { get; set; }
Property Value
Methods
OnMaxWidthChanged(DependencyPropertyChangedEventArgs)
protected virtual void OnMaxWidthChanged(DependencyPropertyChangedEventArgs e)
Parameters
OnMinWidthChanged(DependencyPropertyChangedEventArgs)
protected virtual void OnMinWidthChanged(DependencyPropertyChangedEventArgs e)