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
EnabledInFormView
This property gets/sets if the button is enabled in form view
public bool EnabledInFormView
Field Value
EnabledInListView
This property gets/sets if the button is enabled in list view
public bool EnabledInListView
Field Value
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
Tag
The Tag is available for scripted use and can be filled with any text.
public string Tag
Field Value
UpdatePolicy
This property gets/sets the UpdatePolicy. Use: 0:Discard changes, 1:QuickUpdate, 2:Update
public ButtonUpdatePolicy UpdatePolicy
Field Value
VisibleInFormView
This property gets/sets if the button is visible in form view
public bool VisibleInFormView
Field Value
VisibleInListView
This property gets/sets if the button is visible in list view
public bool VisibleInListView
Field Value
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
Properties
ActionScript
This property gets/sets the script expression to evaluate when the button is clicked.
public string ActionScript { get; set; }
Property Value
ButtonNr
This property gets the internal number used to identify this text button.
public int ButtonNr { get; }
Property Value
Caption
This property gets/sets the caption of the text button.
public string Caption { get; set; }
Property Value
ClassName
This property gets/sets additional css classes to add to the text button.
public string ClassName { get; set; }
Property Value
ConfirmationQuestion
This property gets/sets the ConfirmationQuestion
public string ConfirmationQuestion { get; set; }
Property Value
Enabled
This property gets/sets if the text button is enabled.
public bool Enabled { get; set; }
Property Value
EnabledForModalForm
This property gets/sets if the text button is enabled when a modal form is shown.
public bool EnabledForModalForm { get; set; }
Property Value
Explanation
This property gets/sets the explanation for this text button.
public string Explanation { get; set; }
Property Value
Name
Returns the name of the text button as given when it was created.
public string Name { get; }
Property Value
Visible
This property gets/sets if the text button is visible.
public bool Visible { get; set; }
Property Value
VisibleForModalForm
This property gets/sets if the text button is visible when a modal form is shown.
public bool VisibleForModalForm { get; set; }