FuncDataTemplate Class
Builds a control for a piece of data.
Definition
Namespace: Avalonia.Controls.Templates
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public class FuncDataTemplate : FuncTemplate<Object, Control>,
IRecyclingDataTemplate, IDataTemplate, ITemplate<Object, Control>
Public Class FuncDataTemplate
Inherits FuncTemplate(Of Object, Control)
Implements IRecyclingDataTemplate, IDataTemplate, ITemplate(Of Object, Control)
type FuncDataTemplate =
class
inherit FuncTemplate<Object, Control>
interface IRecyclingDataTemplate
interface IDataTemplate
interface ITemplate<Object, Control>
end
Inheritance | Object → FuncTemplate(Object, Control) → FuncDataTemplate |
Derived | Avalonia.Controls.Templates.FuncDataTemplate(T) Avalonia.Controls.Templates.FuncTreeDataTemplate |
Implements | IDataTemplate, IRecyclingDataTemplate, ITemplate(Object, Control) |
Constructors
FuncDataTemplate(Func(Object, Boolean), Func(Object, INameScope, Control), Boolean) | Initializes a new instance of the FuncDataTemplate class. |
FuncDataTemplate(Type, Func(Object, INameScope, Control), Boolean) | Initializes a new instance of the FuncDataTemplate class. |
Methods
Build(TParam) | Creates the control. (Inherited from FuncTemplate(TParam, TControl)) |
Build(Object, Control) | Creates or recycles a control to display the specified data. |
BuildWithNameScope(TParam) | (Inherited from FuncTemplate(TParam, TControl)) |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
Match(Object) | Checks to see if this data template matches the specified data. |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
Fields
Access | The default data template used in the case where no matching data template is found but AccessText should be used. |
Default | The default data template used in the case where no matching data template is found. |