Properties
AutoEvaluateText
: boolean
Inherited from BaseControl.AutoEvaluateText
Inherited from BaseControl.BackColor
var c = new pf.TextBox({BackColor: "gray"});
Inherited from BaseControl.Border
var c = new pf.Label({Border: "1px solid #aaa"});
Inherited from BaseControl.BorderRadius
var c = new pf.TextBox({BorderRadius: "3px"});
Inherited from BaseControl.BoxShadow
var c = new pf.TextBox({BoxShadow: "inset 0px 1px 0px #fff"});
Inherited from BaseControl.ClassName
var c = new pf.TextBox({ClassName: "navbar"});
Inherited from BaseControl.Comments
ContentSpan
: HTMLSpanElement
Inherited from BaseControl.CssClear
var c = new pf.TextBox({CssClear: "both"});
Inherited from BaseControl.Cursor
var c = new pf.TextBox({Cursor: "pointer"});
Inherited from BaseControl.DetailContainer
var parentListbox = args.Sender.DetailContainer;
var rootForm = parentListbox.GetParentForm();
var value = rootForm.GetControl("Date").GetValue();
Inherited from BaseControl.DetailDataItem
Inherited from BaseControl.Enabled
var c = new pf.TextBox({Enabled: false});
Inherited from BaseControl.EnabledFormula
var formula = "form.GetControl(\"activeCheckbox\").GetValue()";
var c = new pf.Button({EnabledFormula: formula});
form.GetControl("checkbox").GetValue() && form.GetControl("Name") != ""
Inherited from BaseControl.ExtraStyle
var c = new pf.Label({ExtraStyle: "margin-left:20px;background-color:#ccc"});
Inherited from BaseControl.Float
var c = new pf.TextBox({Float: "right"});
Inherited from BaseControl.FontBold
var c = new pf.Label({FontBold: true});
Inherited from BaseControl.FontFamily
var c = new pf.Label({FontFamily: "Arial"});
FontItalics
: boolean
= false
Inherited from BaseControl.FontItalics
var c = new pf.Label({FontItalics: true});
Inherited from BaseControl.FontSize
var c = new pf.Label({FontSize: "20px"});
Inherited from BaseControl.ForeColor
var c = new pf.TextBox({ForeColor: "blue"});
Inherited from BaseControl.Height
var c = new pf.ListBox({Height: "150px"});
IgnoreControlDependencies
: string
Inherited from BaseControl.IgnoreControlDependencies
ImageControl
: HTMLImageElement
ImageSpan
: HTMLSpanElement
Inherited from BaseControl.ManualDependencies
ManualEnabledState
: boolean
Inherited from BaseControl.ManualEnabledState
ManualVisibleState
: boolean
Inherited from BaseControl.ManualVisibleState
Inherited from BaseControl.Margin
var c = new pf.Label({Margin: "10px"});
Inherited from BaseControl.MaxHeight
var c = new pf.ListBox({MaxHeight: "300px"});
Inherited from BaseControl.MaxWidth
var c = new pf.TextBox({MaxWidth: "200px"});
Inherited from BaseControl.Metadata
Inherited from BaseControl.MetadataText
Inherited from BaseControl.MinHeight
var c = new pf.Button({MinHeight: "20px"});
Inherited from BaseControl.MinWidth
var c = new pf.Button({MinWidth: "40px"});
Inherited from BaseControl.Name
Inherited from BaseControl.Opacity
var c = new pf.Label({Text: "My Label", Opacity: "0.4"});
Inherited from BaseControl.Overlay
Inherited from BaseControl.OverlayOpacity
Inherited from BaseControl.Padding
var c = new pf.Label({HtmlElement: "div", Padding: "10px"});
Inherited from BaseControl.Parent
Inherited from BaseControl.ParentExtraStyle
ParentHorizontalAlignment
: string
Inherited from BaseControl.ParentHorizontalAlignment
ParentVerticalAlignment
: string
Inherited from BaseControl.ParentVerticalAlignment
Inherited from BaseControl.PrintExtraStyle
Inherited from BaseControl.Printable
Serializable
: boolean
= true
Inherited from BaseControl.Serializable
Inherited from BaseControl.Tag
Inherited from BaseControl.TextAlign
var c = new pf.TextBox({TextAlign: "center"});
Inherited from BaseControl.Tooltip
var c = new pf.TextBox({Tooltip: "The address of the customer"});
Inherited from BaseControl.TooltipConfiguration
UID
: string
= A new GUID is generated for each control
Inherited from BaseControl.UID
VerticalAlignment
: string
Inherited from BaseControl.VerticalAlignment
Inherited from BaseControl.VisibilityFormula
var formula = "form.GetControl(\"activeCheckbox\").GetValue()";
var c = new pf.Button({VisibilityFormula: formula});
form.GetControl("checkbox").GetValue() && form.GetControl("Name") != ""
Inherited from BaseControl.Visible
var c = new pf.TextBox({Visible: false});
Inherited from BaseControl.Width
var c = new pf.TextBox({Width: "100px"});
AllDesignTimeSettings
: IDesignTimeSettings
Methods
AddClass
(className: string[])
: void
Inherited from BaseControl.AddClass
AddClassName
(cls: string)
: void
Inherited from BaseControl.AddClassName
form.GetControl("Title").AddClassName("active");
AddManualDependency
(name: string, dep: IControlDependency)
: void
Inherited from BaseControl.AddManualDependency
(menuItems: MenuItem[])
: void
ClearAsReadonly
(exceptions: string[])
: void
Inherited from BaseControl.ClearAsReadonly
Inherited from BaseControl.Clone
GetActualHeight
()
: number
Inherited from BaseControl.GetActualHeight
Inherited from BaseControl.GetActualWidth
GetAllChildrenControls
()
:
Inherited from BaseControl.GetAllChildrenControls
var children = c.GetAllChildrenControls();
GetAsyncLoadedControls
()
:
Inherited from BaseControl.GetAsyncLoadedControls
Inherited from BaseControl.GetBackColor
Inherited from BaseControl.GetBorder
GetBorderRadius
()
: string
Inherited from BaseControl.GetBorderRadius
Inherited from BaseControl.GetBoxShadow
GetChild
(name: string)
: IControl
Inherited from BaseControl.GetChild
var control = container.GetChild("TitleTextBox");
Inherited from BaseControl.GetChildren
Inherited from BaseControl.GetClassName
GetControl
(name: string)
: IControl
Inherited from BaseControl.GetControl
var control = container.GetControl("TitleTextBox");
GetControlAsync
(name: string, callback: , maxTime: number)
: void
Inherited from BaseControl.GetControlAsync
form.GetControlAsync("clientId", function(control) {
if (control) control.SetEnabled(false);
}, 2000);
GetControlById
(id: string)
: IControl
Inherited from BaseControl.GetControlById
var control = container.GetControlById("ID1");
GetControlByTargetFieldName
(name: string)
: IDataControl
Inherited from BaseControl.GetControlByTargetFieldName
var c = form.GetControlByTargetFieldName("CustomerType");
GetControlByTargetFieldNameAsync
(name: string, callback: , maxTime: number)
: void
Inherited from BaseControl.GetControlByTargetFieldNameAsync
GetControlsById
(uid: string)
:
Inherited from BaseControl.GetControlsById
var controls = container.GetControlsById("ID1");
Inherited from BaseControl.GetCssClear
Inherited from BaseControl.GetCursor
GetDependencies
(name: string)
: IControlDependency
Inherited from BaseControl.GetDependencies
Inherited from BaseControl.GetExtraStyle
Inherited from BaseControl.GetFloat
Inherited from BaseControl.GetFontBold
Inherited from BaseControl.GetFontFamily
Inherited from BaseControl.GetFontItalic
Inherited from BaseControl.GetFontSize
Inherited from BaseControl.GetForeColor
Inherited from BaseControl.GetHeight
Inherited from BaseControl.GetMargin
Inherited from BaseControl.GetMaxHeight
Inherited from BaseControl.GetMaxWidth
Inherited from BaseControl.GetMinHeight
Inherited from BaseControl.GetMinWidth
Inherited from BaseControl.GetOffsetTop
Inherited from BaseControl.GetOpacity
Inherited from BaseControl.GetOverlay
GetOverlayOpacity
()
: string
Inherited from BaseControl.GetOverlayOpacity
Inherited from BaseControl.GetPadding
GetParentActualHeight
()
: number
Inherited from BaseControl.GetParentActualHeight
GetParentActualWidth
()
: number
Inherited from BaseControl.GetParentActualWidth
GetParentControl
(name: string)
: IControl
Inherited from BaseControl.GetParentControl
Inherited from BaseControl.GetParentForm
var parent = c.GetParentForm();
Inherited from BaseControl.GetParentFormOrSelf
var parent = c.GetParentFormOrSelf();
Inherited from BaseControl.GetPrintExtraStyle
Inherited from BaseControl.GetRootControl
Inherited from BaseControl.GetRootForm
Inherited from BaseControl.GetTextAlign
Inherited from BaseControl.GetTooltip
Inherited from BaseControl.GetTooltipConfiguration
GetVerticalAlignment
()
: string
Inherited from BaseControl.GetVerticalAlignment
Inherited from BaseControl.GetVisible
Inherited from BaseControl.GetWidth
HasChild
(c: BaseControl)
: boolean
Inherited from BaseControl.HasChild
HasClass
(className: string)
: boolean
Inherited from BaseControl.HasClass
Inherited from BaseControl.IsEnabled
Inherited from BaseControl.IsLoaded
Inherited from BaseControl.IsVisible
RemoveClass
(className: string[])
: void
Inherited from BaseControl.RemoveClass
RemoveClassName
(cls: string)
: void
Inherited from BaseControl.RemoveClassName
form.GetControl("Title").RemoveClassName("active");
Inherited from BaseControl.ScrollIntoView
SetAsReadonly
(exceptions: string[])
: void
Inherited from BaseControl.SetAsReadonly
SetBackColor
(color: string)
: void
Inherited from BaseControl.SetBackColor
form.GetControl("Name").SetBackColor("blue");
SetBorder
(border: string)
: void
Inherited from BaseControl.SetBorder
form.GetControl("Name").SetBorder("1px solid #aaa");
SetBorderRadius
(radius: string)
: void
Inherited from BaseControl.SetBorderRadius
form.GetControl("Name").SetBorderRadius("3px");
SetBoxShadow
(value: string)
: void
Inherited from BaseControl.SetBoxShadow
form.GetControl("Name").SetBoxShadow("inset 0px 1px 0px #fff");
SetClassName
(cls: string)
: void
Inherited from BaseControl.SetClassName
form.GetControl("Title").SetClassName("active");
SetCssClear
(clear: string)
: void
Inherited from BaseControl.SetCssClear
form.GetControl("Name").SetCssClear("both");
SetCursor
(cursor: string)
: void
Inherited from BaseControl.SetCursor
form.GetControl("Name").SetCursor("pointer");
SetEnabled
(enable: boolean)
: void
SetEnabledRecursive
(enabled: any, exceptions: string[])
: void
Inherited from BaseControl.SetEnabledRecursive
Inherited from BaseControl.SetExtraStyle
form.GetControl("Name").SetExtraStyle("margin-top:10px;clear:both;");
SetFloat
(cssFloat: string)
: void
Inherited from BaseControl.SetFloat
form.GetControl("Name").SetFloat("right");
SetFontBold
(bold: boolean)
: void
Inherited from BaseControl.SetFontBold
form.GetControl("Name").SetFontBold(true);
SetFontFamily
(family: string)
: void
Inherited from BaseControl.SetFontFamily
form.GetControl("Name").SetFontFamily("Arial");
SetFontItalics
(italics: boolean)
: void
Inherited from BaseControl.SetFontItalics
form.GetControl("Name").SetFontItalics(true);
SetFontSize
(size: string)
: void
Inherited from BaseControl.SetFontSize
form.GetControl("Name").SetFontSize("14px");
SetForeColor
(color: string)
: void
Inherited from BaseControl.SetForeColor
form.GetControl("Name").SetForeColor("#c00");
SetHeight
(height: string)
: void
Inherited from BaseControl.SetHeight
form.GetControl("Name").SetHeight("20px");
SetImageHtml
(html: string)
: void
SetImageSrc
(imageSrc: string)
: void
Inherited from BaseControl.SetLoaded
SetMargin
(margin: string)
: void
Inherited from BaseControl.SetMargin
form.GetControl("Name").SetMargin("10px 20px");
form.GetControl("Name").SetMargin("10px");
form.GetControl("Name").SetMargin("10px 20px 30px 40px");
SetMaxHeight
(height: string)
: void
Inherited from BaseControl.SetMaxHeight
form.GetControl("Name").SetMaxHeight("200px");
SetMaxWidth
(width: string)
: void
Inherited from BaseControl.SetMaxWidth
form.GetControl("Name").SetMaxWidth("200px");
(idx: number, s: string)
: void
SetMetadataText
(metadataText: string)
: void
Inherited from BaseControl.SetMetadataText
SetMinHeight
(height: string)
: void
Inherited from BaseControl.SetMinHeight
form.GetControl("Name").SetMinHeight("200px");
SetMinWidth
(width: string)
: void
Inherited from BaseControl.SetMinWidth
form.GetControl("Name").SetMinWidth("50px");
SetOpacity
(op: string)
: void
Inherited from BaseControl.SetOpacity
form.GetControl("Name").SetOpacity("0.6");
SetOverlay
(set: boolean)
: void
Inherited from BaseControl.SetOverlay
SetOverlayOpacity
(opacity: string)
: void
Inherited from BaseControl.SetOverlayOpacity
SetPadding
(padding: string)
: void
Inherited from BaseControl.SetPadding
form.GetControl("Name").SetPadding("10px 20px");
form.GetControl("Name").SetPadding("10px");
form.GetControl("Name").SetPadding("10px 20px 30px 40px");
Inherited from BaseControl.SetPrintExtraStyle
SetText
(text: string)
: void
SetTextAlign
(align: string)
: void
Inherited from BaseControl.SetTextAlign
form.GetControl("Name").SetTextAlign("center");
(tooltip: string, options: any)
: void
Inherited from BaseControl.SetTooltip
form.GetControl("Address").SetTooltip("This is the address field");
(value: ITooltipOptions)
: void
Inherited from BaseControl.SetTooltipConfiguration
SetVerticalAlignment
(align: string)
: void
Inherited from BaseControl.SetVerticalAlignment
SetVisible
(visible: boolean)
: void
Inherited from BaseControl.SetVisible
form.GetControl("Title").SetVisible(false);
SetWidth
(width: string)
: void
Inherited from BaseControl.SetWidth
form.GetControl("Name").SetWidth("100%");
ShouldAddGlobalCssClass
()
: boolean
Inherited from BaseControl.ShouldAddGlobalCssClass
SupportsUserEdit
()
: boolean
SwitchClass
(condition: boolean, classNames: string[])
: void
Inherited from BaseControl.SwitchClass
Inherited from BaseControl.ToNormalMode
ToNormalModePrintable
()
: boolean
Inherited from BaseControl.ToNormalModePrintable
Inherited from BaseControl.ToPrintMode
ToPrintModePrintable
()
: boolean
Inherited from BaseControl.ToPrintModePrintable
Inherited from BaseControl.ToViewMode
ToggleClass
(classNames: string[])
: void
Inherited from BaseControl.ToggleClass
WaitForAsyncControlsToLoad
(callback: any)
: void
Inherited from BaseControl.WaitForAsyncControlsToLoad
WithImageSrc
(imageSrc: string)
: this
CreatePropertiesFromHtmlAttributes
(c: BaseControl, el: HTMLElement)
: any
Inherited from BaseControl.CreatePropertiesFromHtmlAttributes
FromJSON
(def: any)
: RibbonButton
FromJSON2
(r: RibbonButton, def: any)
: RibbonButton
Events
OnClick
(form: pf.Form, args: IControlEventArgs (Event: any, Parent: any, Sender: any))
:
OnControlAdded
(form: pf.Form, args: IControlAddedEventArgs (Control: any, Parent: any, Sender: any))
:
Inherited from BaseControl.OnControlAdded
OnLoaded
(form: pf.Form, args: IEventArgs (Parent: any, Sender: any))
:
Inherited from BaseControl.OnLoaded