FuncDataTemplate<T> Class
Builds a control for a piece of data of specified type.
Definition
Namespace: Avalonia.Controls.Templates
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public class FuncDataTemplate<T> : FuncDataTemplate
Public Class FuncDataTemplate(Of T)
Inherits FuncDataTemplate
type FuncDataTemplate<'T> =
class
inherit FuncDataTemplate
end
| Inheritance | Object → FuncTemplate(Object, Control) → FuncDataTemplate → FuncDataTemplate(T) |
Type Parameters
- The type of the template's data.
Constructors
| FuncDataTemplate(T)(Func(T, INameScope, Control), Boolean) | Initializes a new instance of the FuncDataTemplate(T) class. |
| FuncDataTemplate(T)(Func(T, Boolean), Func(T, Control), Boolean) | Initializes a new instance of the FuncDataTemplate(T) class. |
| FuncDataTemplate(T)(Func(T, Boolean), Func(T, INameScope, Control), Boolean) | Initializes a new instance of the FuncDataTemplate(T) 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. (Inherited from FuncDataTemplate) |
| 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. (Inherited from FuncDataTemplate) |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |