Table of Contents

Class Button

Namespace
PolarStudio
Assembly
PolarStudio.dll

This class contains the information about one button as can be shown in the user interface.

public class Button
Inheritance
Button
Derived
Inherited Members
Extension Methods

Properties

ButtonBarName

Returns the name of the ButtonBar this button is defined within.

public string ButtonBarName { get; }

Property Value

string

Context

Returns the Context for custom created buttons. Uses values: 0:Session, 1:Application, 2:Form

public ButtonContext Context { get; }

Property Value

ButtonContext

Enabled

This property sets/gets if the button is Enabled. A not-enabled button can still be visible (but greyed out)

public virtual bool Enabled { get; set; }

Property Value

bool

ExplanationTC

Returns the explanation as defined in Polar Studio

public string ExplanationTC { get; }

Property Value

string

ImageDisabledTC

Returns the disabled-image as defined in Polar Studio

public string ImageDisabledTC { get; }

Property Value

string

ImageEnabledHiTC

Returns the hi-image (mouse-over image) as defined in Polar Studio

public string ImageEnabledHiTC { get; }

Property Value

string

ImageEnabledTC

Returns the enabled-image as defined in Polar Studio

public string ImageEnabledTC { get; }

Property Value

string

Name

Returns the Name of the button as defined within Polar Studio

public string Name { get; }

Property Value

string

System

Returns True if this button is a SystemButton.

public bool System { get; }

Property Value

bool

UpdatePolicy

Returns the Update Policy for custom buttons.

public ButtonUpdatePolicy UpdatePolicy { get; }

Property Value

ButtonUpdatePolicy

Visible

This property sets/gets if the button is Visible.

public virtual bool Visible { get; set; }

Property Value

bool