Class ViewLocator
Inherited Members
Namespace: MOSAIC
Assembly: MOSAIC.dll
Syntax
public class ViewLocator : IDataTemplate, ITemplate<object?, Control?>
Methods
Build(object?)
Creates the control.
Declaration
public Control? Build(object? param)
Parameters
| Type | Name | Description |
|---|---|---|
| object | param | The parameter. |
Returns
| Type | Description |
|---|---|
| Control | The created control. |
Match(object?)
Checks to see if this data template matches the specified data.
Declaration
public bool Match(object? data)
Parameters
| Type | Name | Description |
|---|---|---|
| object | data | The data. |
Returns
| Type | Description |
|---|---|
| bool | True if the data template can build a control for the data, otherwise false. |
Implements
Avalonia.Controls.Templates.IDataTemplate
Avalonia.Controls.Templates.ITemplate<TParam, TControl>