Search Results for

    Show / Hide Table of Contents

    Class NoesisService

    Noesis Service.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    Service
    NoesisService
    Implements
    IDependencyObject
    Inherited Members
    Service.OnLoaded()
    Service.OnAttached()
    Service.OnActivated()
    Service.OnDeactivated()
    Service.OnDestroy()
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.ShouldBeActivated
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    Service.OnDetach()

    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()
    Overrides
    Service.Start()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX