Click or drag to resize

ControlGrid Class

Container used to position child controls in a table like structure.
Inheritance Hierarchy
SystemObject
  AxiomCore2.ControlsControlBase
    AxiomCore2.ControlsControlGrid

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

The ControlGrid type exposes the following members.

Properties
 NameDescription
Public propertyAssetInstances Array of available asset instances. Value is dependent upon properties AssetServer, AssetView, and AssetType. Assets must be defined by an asset model view. Default value is null.
Public propertyAssetType Type of asset associated with control.
Public propertyCode exampleChildren Collection of child controls. Add, remove, index, iterate and more using the IControlChildren interface.
Public propertyColumnAlignment Alignment of column header/footer.
Public propertyColumnCalculation Optional calculation performed on all values in a column.
Public propertyColumnCount Number of controls in a row. Default value is 3.
Public propertyColumnHeaders Headers given to grid columns.
Public propertyColumnWidths Column sizes. Array length is expected to be the same length as the number of columns. Each item in the array corresponds with the size of the column index. Use integer to size columns by ratio or "Auto". Default value is ["Auto", "Auto", "Auto"].
Public propertyHeight Height of control in pixels.
Public propertyIsTemplateEnabled Get boolean indicating if the template is enabled.
Public propertyIsTemplateFooterVisible Get or set boolean indicating if the template footer is visible.
Public propertyIsTemplateHeaderVisible Get or set boolean indicating if the template header is visible.
Public propertyIsVisible Visibility of control. Default value is true.
Public propertyKind Kind of control.
(Inherited from ControlBase)
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 propertyTemplateCount Get the number of assets in the current template.
Public propertyTemplateFilter Get or set filter applied to the current asset template to narrow down assets included.
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 propertyTemplatePageIndex Get or set current page number displayed in the asset template.
Public propertyTemplatePageSize Get or set the total number of pages available in the asset template.
Public propertyTemplateRefreshInterval Get or set how frequently the asset template refreshes.
Public propertyTemplateRefreshTime Get last template refresh time.
Public propertyWidth Width of control in pixels.
Public propertyX X position of a control relative to its parent in pixels.
Public propertyY Y position of a control relative to its parent in pixels.
Top
Methods
 NameDescription
Public methodAncestorsT Get ancestor controls that implement generic control interface defined by T.
(Inherited from ControlBase)
Public methodDescendantsT Get descendant child controls that implement generic control interface defined by T.
Public methodTemplateRefresh Refresh the asset template.
Top
See Also