Click or drag to resize

ControlApplication Class

Application instance.
Inheritance Hierarchy
SystemObject
  AxiomCore2.ControlsControlBase
    AxiomCore2.ControlsControlApplication

Namespace: AxiomCore2.Controls
Assembly: Canary.Axiom.Session (in Canary.Axiom.Session.exe) Version: 25.6.0.25344+3070493948bf7d32a86bd3e9a8bcf4cc9a5b1929
Syntax
C#
public class ControlApplication : ControlBase, 
	IControlBase, IDisposable

The ControlApplication type exposes the following members.

Properties
 NameDescription
Public propertyCurrentScreen Gets or sets the current visible screen.
Public propertyFileMode Gets the AxiomFileKind that describes the kind of content stored in the file. Useful to determine if this application is a Chart or Application.
Public propertyStatic memberInstance Static property used to get the instance of the ControlApplication class.
Public propertyKind Kind of control.
(Inherited from ControlBase)
Public propertyLoadedFile Gets the AxiomFile for this application or chart.
Public propertyName Control name that is unique within the owning screen. Name of control must conform to the regex pattern [a-zA-Z0-9], as only letters and numbers are valid characters.
(Inherited from ControlBase)
Public propertyParent Parent of the control.
(Inherited from ControlBase)
Public propertyScreen Screen the control resides in.
(Inherited from ControlBase)
Public propertyScreens Gets the screens in the application
Public propertyTemplateId Id used to find sibling controls within a template. All siblings will have the same id. Default value is null.
(Inherited from ControlBase)
Public propertyTimeDuration Gets or sets the time duration of the application.
Public propertyTimeEnd Gets or sets the stop time of the application.
Public propertyTimeMode Gets or sets the time mode of the application which indicates if it is paused or displaying live data.
Public propertyTimeStart Gets or sets the start time of the application.
Public propertyUrlParameters Url parameters present when application was loaded. These parameters can be used with scripting to allow application actions through url parameters.
Top
Methods
 NameDescription
Public methodAncestorsT Get ancestor controls that implement generic control interface defined by T.
(Inherited from ControlBase)
Protected methodGetPropertyT(String)
(Inherited from ControlBase)
Protected methodSetProperty(Object, String)
(Inherited from ControlBase)
Top
Fields
 NameDescription
Protected field_kind
(Inherited from ControlBase)
Protected field_name
(Inherited from ControlBase)
Protected field_parent
(Inherited from ControlBase)
Protected field_screen
(Inherited from ControlBase)
Top
Example
Use the static Instance property to access this class.
C#
var application = ControlFactory.Instance;
This will create a reference to the current application.
See Also