Table of Contents

Class GridViewColumn

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

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

DependencyProperty

MinWidthProperty

Identifies the MinWidth dependency property.

public static readonly DependencyProperty MinWidthProperty

Field Value

DependencyProperty

Properties

MaxWidth

gets or sets the maximum width of the column.

public double MaxWidth { get; set; }

Property Value

double

MinWidth

Gets or sets the minimum width of the column.

public double MinWidth { get; set; }

Property Value

double

Methods

OnMaxWidthChanged(DependencyPropertyChangedEventArgs)

protected virtual void OnMaxWidthChanged(DependencyPropertyChangedEventArgs e)

Parameters

e DependencyPropertyChangedEventArgs

OnMinWidthChanged(DependencyPropertyChangedEventArgs)

protected virtual void OnMinWidthChanged(DependencyPropertyChangedEventArgs e)

Parameters

e DependencyPropertyChangedEventArgs