Class InspectorView
Implements the IInspector interface for the Avalonia platform.
Inheritance
AvaloniaObject
Animatable
StyledElement
Visual
Layoutable
Interactive
InputElement
Control
TemplatedControl
ContentControl
UserControl
InspectorView
Implements
IDataContextProvider
ILogical
IThemeVariantHost
IResourceHost
IResourceNode
IStyleHost
ISetLogicalParent
ISetInheritanceParent
IStyleable
IInputElement
IDataTemplateHost
INamed
ISetterValue
Namespace: Northwoods.Go.Extensions
Assembly: DataInspectorAvalonia.dll
Syntax
public class InspectorView : UserControl, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, IInputElement, IDataTemplateHost, INamed, ISetterValue, IInspector
Constructors
InspectorView()
Construct an InspectorView.
Declaration
public InspectorView()
Methods
InitializeComponent(bool)
Wires up the controls and optionally loads XAML markup and attaches dev tools (if Avalonia.Diagnostics package is referenced).
Declaration
public void InitializeComponent(bool loadXaml = true)
Parameters
Type | Name | Description |
---|---|---|
bool | loadXaml | Should the XAML be loaded into the component. |
UpdatePropertiesFromInput(Inspector)
Implements UpdatePropertiesFromInput(Inspector) to update data properties.
Declaration
public void UpdatePropertiesFromInput(Inspector inspector)
Parameters
Type | Name | Description |
---|---|---|
Inspector | inspector |
UpdateUI(Inspector, bool)
Implements UpdateUI(Inspector, bool) to update the input fields or rebuild the table of inputs.
Declaration
public void UpdateUI(Inspector inspector, bool rebuild = false)
Parameters
Type | Name | Description |
---|---|---|
Inspector | inspector | |
bool | rebuild |
Implements
Avalonia.IDataContextProvider
Avalonia.LogicalTree.ILogical
Avalonia.Styling.IThemeVariantHost
Avalonia.Controls.IResourceHost
Avalonia.Controls.IResourceNode
Avalonia.Styling.IStyleHost
Avalonia.Controls.ISetLogicalParent
Avalonia.Controls.ISetInheritanceParent
Avalonia.Styling.IStyleable
Avalonia.Input.IInputElement
Avalonia.Controls.Templates.IDataTemplateHost
Avalonia.INamed
Avalonia.Styling.ISetterValue