Table of Contents

Class TextButton

Namespace
PolarStudio
Assembly
PolarStudio.dll

This class represents one text button as added to a session, an application or a form.

public class TextButton
Inheritance
TextButton
Inherited Members
Extension Methods

Fields

CaptionHTMLformatted

This boolean indicates if the caption is formatted as html.

public bool CaptionHTMLformatted

Field Value

bool

EnabledInFormView

This property gets/sets if the button is enabled in form view

public bool EnabledInFormView

Field Value

bool

EnabledInListView

This property gets/sets if the button is enabled in list view

public bool EnabledInListView

Field Value

bool

EnabledScript

This property can be set to a script-expression returning a boolean to dynamically make the button enabled/disabled.

public string EnabledScript

Field Value

string

Tag

The Tag is available for scripted use and can be filled with any text.

public string Tag

Field Value

string

UpdatePolicy

This property gets/sets the UpdatePolicy. Use: 0:Discard changes, 1:QuickUpdate, 2:Update

public ButtonUpdatePolicy UpdatePolicy

Field Value

ButtonUpdatePolicy

VisibleInFormView

This property gets/sets if the button is visible in form view

public bool VisibleInFormView

Field Value

bool

VisibleInListView

This property gets/sets if the button is visible in list view

public bool VisibleInListView

Field Value

bool

VisibleScript

This property can be set to a script-expression returning a boolean to dynamically make the button (in)visible.

public string VisibleScript

Field Value

string

Properties

ActionScript

This property gets/sets the script expression to evaluate when the button is clicked.

public string ActionScript { get; set; }

Property Value

string

ButtonNr

This property gets the internal number used to identify this text button.

public int ButtonNr { get; }

Property Value

int

Caption

This property gets/sets the caption of the text button.

public string Caption { get; set; }

Property Value

string

ClassName

This property gets/sets additional css classes to add to the text button.

public string ClassName { get; set; }

Property Value

string

ConfirmationQuestion

This property gets/sets the ConfirmationQuestion

public string ConfirmationQuestion { get; set; }

Property Value

string

Enabled

This property gets/sets if the text button is enabled.

public bool Enabled { get; set; }

Property Value

bool

EnabledForModalForm

This property gets/sets if the text button is enabled when a modal form is shown.

public bool EnabledForModalForm { get; set; }

Property Value

bool

Explanation

This property gets/sets the explanation for this text button.

public string Explanation { get; set; }

Property Value

string

Name

Returns the name of the text button as given when it was created.

public string Name { get; }

Property Value

string

Visible

This property gets/sets if the text button is visible.

public bool Visible { get; set; }

Property Value

bool

VisibleForModalForm

This property gets/sets if the text button is visible when a modal form is shown.

public bool VisibleForModalForm { get; set; }

Property Value

bool