menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TemplateViewDefinition - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TemplateViewDefinition

    Class used to represent the Row Template of ViewDefinition that enables you to load any control in to hierarchical format.

    Inheritance
    System.Object
    ViewDefinition
    TemplateViewDefinition
    Inherited Members
    ViewDefinition.RelationalColumn
    ViewDefinition.RelationalColumnProperty
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class TemplateViewDefinition : ViewDefinition

    Constructors

    TemplateViewDefinition()

    Specifies the template view definition

    Declaration
    public TemplateViewDefinition()

    Fields

    HeightModeProperty

    DependencyPropery for HeightMode.

    Declaration
    public static readonly DependencyProperty HeightModeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeightProperty

    DependencyPropery for Height.

    Declaration
    public static readonly DependencyProperty HeightProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    MinHeightProperty

    DependencyPropery for MinHeight.

    Declaration
    public static readonly DependencyProperty MinHeightProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    NavigationModeProperty

    DependencyPropery for NavigationMode.

    Declaration
    public static readonly DependencyProperty NavigationModeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    RowTemplateProperty

    DependencyPropery for RowTemplate.

    Declaration
    public static readonly DependencyProperty RowTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    RowTemplateSelectorProperty

    DependencyPropery for RowTemplateSelector.

    Declaration
    public static readonly DependencyProperty RowTemplateSelectorProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    Height

    Gets or sets the height of the RowTemplate

    Declaration
    public double Height { get; set; }
    Property Value
    Type
    System.Double

    HeightMode

    Gets or sets the height mode of the RowTemplate.

    Declaration
    public HeightMode HeightMode { get; set; }
    Property Value
    Type
    HeightMode

    MinHeight

    Gets or sets the minimum height of the RowTemplate

    Declaration
    public double MinHeight { get; set; }
    Property Value
    Type
    System.Double

    NavigationMode

    Get or Sets the NavigationMode to decide whether allow TemplateRow while Navigation.

    Declaration
    public TemplateNavigationMode NavigationMode { get; set; }
    Property Value
    Type
    TemplateNavigationMode

    RowTemplate

    Gets or sets the details view template.

    Declaration
    public DataTemplate RowTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The details view template.

    RowTemplateSelector

    Gets or sets the System.Windows.Controls.DataTemplateSelector by choosing a template based on data.

    Declaration
    public DataTemplateSelector RowTemplateSelector { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.DataTemplateSelector

    A custom System.Windows.Controls.DataTemplateSelector object that chooses the System.Windows.DataTemplate based on data. The default value is null.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved