Class NoesisService
Noesis Service.
Implements
Inherited Members
Namespace: Evergine.NoesisGUI
Assembly: Evergine.NoesisGUI.dll
Syntax
public class NoesisService : Service, IDependencyObject
  Fields
noesisSoftwareKeyboardRequestService
This service is not used directly by NoesisService but it is bound here to force instantiation if it is registered using RegisterType<TImplementation>(bool).
Declaration
[BindService(false)]
protected NoesisSoftwareKeyboardRequestService noesisSoftwareKeyboardRequestService
  Field Value
| Type | Description | 
|---|---|
| NoesisSoftwareKeyboardRequestService | 
Properties
CurrentStyle
Gets the current style.
Declaration
public string CurrentStyle { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
RenderDevice
Gets the render device used to render Noesis.
Declaration
public RenderDevice RenderDevice { get; }
  Property Value
| Type | Description | 
|---|---|
| RenderDevice | 
Style
Gets or sets the path to a resources XAML that defines the style of all NoesisPanel instances.
Declaration
public string Style { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | 
StyleValid
Gets a value indicating whether the CurrentStyle is loaded and valid.
Declaration
public bool StyleValid { get; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
Methods
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
  Overrides
PreloadTexture(string)
Preload a texture so the provider can find them faster when needed.
Declaration
public bool PreloadTexture(string filename)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | filename | The file name of the texture to preload.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | Whether the texture was loaded (because it was not previously loaded).  | 
      
RegisterTexture(string, Texture)
Register a texture with a given identifier.
Declaration
public bool RegisterTexture(string identifier, Texture texture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | identifier | The texture identifier.  | 
      
| Texture | texture | The texture.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | Whether the texture was registered (because it was not previously registered).  | 
      
Start()
Invoked to start the object.
Declaration
protected override void Start()