Back to Devexpress

ListView.TableViewStyle Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-listview-05a5fdad.md

latest1.7 KB
Original Source

ListView.TableViewStyle Property

Gets or sets the style applied to the TableView object used by the view. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public Style TableViewStyle { get; set; }
vb
Public Property TableViewStyle As Style

Property Value

TypeDescription
Style

A Style object that represents a style to be applied to the grid control used by the view.

|

Remarks

Target Type : TableView.

The code snippet below illustrates a custom style that displays the total summary.

xaml
<dxsch:ListView x:Name="listView" >
    <dxsch:ListView.TableViewStyle>
        <Style TargetType="dxg:TableView">
            <Setter Property="TotalSummaryPosition" Value="Bottom"/>
        </Style>
    </dxsch:ListView.TableViewStyle>
</dxsch:ListView>

See Also

ListView Class

ListView Members

DevExpress.Xpf.Scheduling Namespace