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. |