WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DocumentHeaderTrimmingTemplate

    Show / Hide Table of Contents

    Class DocumentHeaderTrimmingTemplate

    Provides a way to choose a System.Windows.DataTemplate based on the data object and the data-bound element.

    Inheritance
    System.Object
    DocumentHeaderTrimmingTemplate
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class DocumentHeaderTrimmingTemplate : DataTemplateSelector

    Constructors

    DocumentHeaderTrimmingTemplate()

    Declaration
    public DocumentHeaderTrimmingTemplate()

    Methods

    SelectTemplate(Object, DependencyObject)

    When overridden in a derived class, returns a System.Windows.DataTemplate based on custom logic.

    Declaration
    public override DataTemplate SelectTemplate(object item, DependencyObject container)
    Parameters
    Type Name Description
    System.Object item

    The data object for which to select the template.

    System.Windows.DependencyObject container

    The data-bound object.

    Returns
    Type Description
    System.Windows.DataTemplate

    Returns a System.Windows.DataTemplate or null. The default value is null.

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