Properties
AccordionView
: boolean
= false
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"});
BubbleChangeEvent
: boolean
= false
Inherited from DataControl.BubbleChangeEvent
var c = new pf.TextBox({BubbleChangeEvent: true});
Inherited from BaseControl.ClassName
var c = new pf.TextBox({ClassName: "navbar"});
ColumnGroups
: IListBoxColumnGroup[]
ColumnHeaderBackColor
: string
ColumnHeaderBorder
: string
ColumnHeaderCellExtraStyle
: string
ColumnHeaderExtraStyle
: string
ColumnHeaderFontBold
: boolean
ColumnHeaderFontSize
: string
ColumnHeaderForeColor
: string
ColumnHeaderGroupPadding
: string
ColumnHeaderPadding
: string
ColumnHeaders
: boolean
= false
Columns
: IListBoxColumn[]
Inherited from BaseControl.Comments
ContentActiveColor
: string
ContentBorderBottom
: string
= "1px #e1e1e1 solid"
ContentCellClassName
: string
ContentCellPadding
: string
ContentHoverColor
: string
ContentMargin
: string
= "0"
ContentPadding
: string
= "2px 20px"
Inherited from BaseControl.CssClear
var c = new pf.TextBox({CssClear: "both"});
Inherited from BaseControl.Cursor
var c = new pf.TextBox({Cursor: "pointer"});
DefaultValueProvider
: any
Inherited from DataControl.DefaultValueProvider
var c = new pf.TextBox({DefaultValueProvider: "return new Date();"});
Inherited from BaseControl.DetailContainer
var parentListbox = args.Sender.DetailContainer;
var rootForm = parentListbox.GetParentForm();
var value = rootForm.GetControl("Date").GetValue();
Inherited from BaseControl.DetailDataItem
var list = new pf.ListBox({DisplayField: "Name"});
EditMode
: string
= "NoEdit"
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") != ""
EnterKeyMovesDown
: boolean
= false
Inherited from BaseControl.ExtraStyle
var c = new pf.Label({ExtraStyle: "margin-left:20px;background-color:#ccc"});
FilterControlName
: string
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 DataControl.FriendlyName
GroupBackColor
: string
= "#f0f0f0"
GroupBorderRadius
: string
GroupClassName
: string
= ""
GroupColor
: string
= "#333333"
var list = new pf.ListBox({DisplayField: "Name", GroupFieldName: "Type"});
GroupFontBold
: boolean
= true
HAlignColumnPadding
: string
Inherited from BaseControl.Height
var c = new pf.ListBox({Height: "150px"});
HighlightColumnHeaders
: boolean
IgnoreControlDependencies
: string
Inherited from BaseControl.IgnoreControlDependencies
LazyLoading
: boolean
= false
LazyLoadingDefaultRowHeight
: string
LazyLoadingTriggerHeight
: number
Legends
: ILegendDefinition[]
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
OnBindGroupItem
: DynamicUserFunction
OnColumnFilter
: DynamicUserFunction
OnCreateColumnFilters
: DynamicUserFunction
OnEditItem
: DynamicUserFunction
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
RecursiveEnabled
: boolean
Inherited from DataControl.Required
SelectableText
: boolean
= true
SelectedCellClassName
: string
SelectionBackgroundColor
: string
= "#0078D7"
SelectionClassName
: string
SelectionForeColor
: string
= "white"
Serializable
: boolean
= true
Inherited from BaseControl.Serializable
SkipPrintModeForRows
: boolean
SortByGroupField
: boolean
= true
SortColumnBackColor
: string
SortIndicatorFollowsHAlign
: boolean
SortedCellClassName
: string
Inherited from DataControl.StaticValue
SuspendChangeEvent
: boolean
= false
Inherited from DataControl.SuspendChangeEvent
Inherited from BaseControl.Tag
Inherited from DataControl.TargetDataItem
TargetDataItemFieldName
: string
Inherited from DataControl.TargetDataItemFieldName
Inherited from DataControl.TargetFieldName
var form = new pf.Form();
var container = new pf.SimpleContainer();
form.AddControl(container);
var textID = new pf.TextBox({TargetFieldName: "ID"});
var textName = new pf.TextBox({TargetFieldName: "Name"});
var textType = new pf.TextBox({TargetFieldName: "Type"});
container.AddControl(textID);
container.AddControl(textName);
container.AddControl(textType);
var value = form.GetValue();
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
Inherited from DataControl.ValidationGroup
ValueConverter
: DynamicUserFunction
Inherited from DataControl.ValueConverter
Inherited from DataControl.ValueFormatter
ValueProviders
: IDataProvider[]
Inherited from DataControl.ValueProviders
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});
WaitMsg
: string
= "Loading..."
Inherited from BaseControl.Width
var c = new pf.TextBox({Width: "100px"});
AllDesignTimeSettings
: IDesignTimeSettings
TargetFieldNamePropertyName
: string
Inherited from DataControl.TargetFieldNamePropertyName
Methods
AddClass
(className: string[])
: void
Inherited from BaseControl.AddClass
AddClassName
(cls: string)
: void
Inherited from BaseControl.AddClassName
form.GetControl("Title").AddClassName("active");
AddColumnClass
(idx: number, className: string)
: void
AddGroup
(item: any, parent: ListBoxItem, addFirst: boolean)
: ListBoxItem
AddItem
(item: any, parent: ListBoxItem, addFirst: boolean)
: ListBoxItem
var item = {ID: 1, Name: "Task 1"};
form.GetControl("list1").AddItem(item, null, true);
AddManualDependency
(name: string, dep: IControlDependency)
: void
Inherited from BaseControl.AddManualDependency
ApplyColumnFilters
()
: void
ApplyDefaultValue
(value: any)
: void
Inherited from DataControl.ApplyDefaultValue
BindFilterText
(c: DataControl, fields: string[])
: void
ClearAsReadonly
(exceptions: string[])
: void
Inherited from BaseControl.ClearAsReadonly
ClearColumnFilters
()
: void
ClearSortingAndFilter
()
: void
Inherited from BaseControl.Clone
CreateColorLegend
(field: string, maxColumns: number, maps: IListLegendMapping[])
: TableContainer
(item: ListBoxItem, callback: any)
: void
CreateRow
(item: any)
: TableContainer
(column: IListBoxColumn, headerControl: BaseControl)
: MenuButton
form.GetControl("list1").DeleteAllItems();
DeleteItem
(record: any)
: void
var list = form.GetControl("list1");
var data = [
{ID: 1, Name: "Task 1"},
{ID: 2, Name: "Task 2"}
];
list.SetValue(data);
list.DeleteItem(data[0]);
EditItem
(record: any)
: void
EndEditItem
(record: any, save: boolean)
: void
EvaluateValue
(options: any, callback: any)
: void
Inherited from DataControl.EvaluateValue
Filter
(filterFunc: )
: void
var listbox = form.GetControl("list1");
listbox.Filter(function(data) {
var newData = [];
data.forEach(function(x) {
if (x.Amount > 0) newData.push(x);
});
return newData;
});
FilterByFieldValue
(fieldName: string, fieldValue: string)
: void
FilterText
(searchText: string, fields: string[])
: void
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 DataControl.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
GetGroupItem
(key: string)
: ListBoxItem
Inherited from BaseControl.GetHeight
Inherited from BaseControl.GetMargin
Inherited from BaseControl.GetMaxHeight
Inherited from BaseControl.GetMaxWidth
Inherited from BaseControl.GetMinHeight
Inherited from BaseControl.GetMinWidth
(value: number, format: string, decimals: number, min: number, max: number)
: string
Inherited from DataControl.GetNumberFormattedValue
GetNumericValue
()
: number
Inherited from DataControl.GetNumericValue
var amount = form.GetControl("Amount").GetNumericValue() * 100;
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 DataControl.GetPrintValue
Inherited from BaseControl.GetRootControl
Inherited from BaseControl.GetRootForm
GetRow
(item: any)
: ListBoxItem
GetSelectedIndex
()
: number
var selectedItem = form.GetControl("list1").GetSelectedItem();
GetSelectedRow
()
: ListBoxItem
Inherited from BaseControl.GetTextAlign
Inherited from BaseControl.GetTooltip
Inherited from BaseControl.GetTooltipConfiguration
Inherited from DataControl.GetValue
var active = form.GetControl("checkbox").GetValue();
var text = form.GetControl("textbox").GetValue();
var items = form.GetControl("listbox").GetValue();
GetValuePath
(path: string, sep: string)
: any
Inherited from DataControl.GetValuePath
var value = form.GetControl("Country");
var result = form.GetControl("Country").GetValuePath("Name");
var result = form.GetControl("Country").GetValuePath("ID");
var value = form.GetControl("Countries");
var result = form.GetControl("Counties").GetValuePath("Name", ", ");
var result = form.GetControl("Counties").GetValuePath("ID", ";");
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
HideColumn
(columnName: any)
: void
HideColumnElements
(columnName: any)
: void
HideWaitIndicator
()
: void
Highlight
(fieldName: string, fieldValue: string)
: void
Inherited from BaseControl.IsEnabled
IsItemDirty
(item: any)
: boolean
Inherited from BaseControl.IsLoaded
Inherited from DataControl.IsRequired
Inherited from BaseControl.IsVisible
ItemIsCollapsed
(item: ListBoxItem)
: boolean
LoadFilterValues
(button: MenuButton)
: void
MoveDown
(item: ListBoxItem, array: any[])
: boolean
MoveUp
(item: ListBoxItem, array: any[])
: boolean
PrependItem
(item: any, parent: ListBoxItem)
: ListBoxItem
ReBindRow
(item: any)
: void
RefreshColumnSortingAndVisibility
()
: void
RefreshItem
(record: any)
: void
RefreshItemsEnabled
()
: void
RefreshRow
(control: ListBoxItem)
: void
RemoveClass
(className: string[])
: void
Inherited from BaseControl.RemoveClass
RemoveClassName
(cls: string)
: void
Inherited from BaseControl.RemoveClassName
form.GetControl("Title").RemoveClassName("active");
RemoveColumnClass
(idx: number, className: string)
: void
Inherited from BaseControl.ScrollIntoView
(item: any, efficient: boolean)
: void
var list = form.GetControl("list1");
var data = [];
for (var i = 0; i < 50; i ++) {
var item = {ID: i, Name: "Task " + i};
data.push(item);
}
list.SetValue(data);
list.ScrollItemIntoView(data[49]);
list.SetSelectedItem(data[49]);
SetAsReadonly
(exceptions: string[])
: void
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");
SetColumnBackColor
(idx: number, color: string)
: void
SetControlValue
(value: any)
: boolean
SetCssClear
(clear: string)
: void
Inherited from BaseControl.SetCssClear
form.GetControl("Name").SetCssClear("both");
SetCurrent
(item: any)
: void
SetCursor
(cursor: string)
: void
Inherited from BaseControl.SetCursor
form.GetControl("Name").SetCursor("pointer");
SetEnabled
(enabled: any)
: void
SetEnabledRecursive
(enabled: any, exceptions: string[])
: void
Inherited from BaseControl.SetEnabledRecursive
(c: BaseControl, item: any)
: void
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");
SetGroupText
(key: string, text: string)
: void
SetHeight
(height: string)
: void
Inherited from BaseControl.SetHeight
form.GetControl("Name").SetHeight("20px");
SetItemDirty
(item: any, dirty: boolean)
: void
SetItemEnabled
(enabled: any, item: any)
: void
SetItemsEnabled
(enabled: any)
: 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");
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");
SetPage
(pageNo: number)
: void
Inherited from BaseControl.SetPrintExtraStyle
SetRequired
(required: any)
: void
Inherited from DataControl.SetRequired
SetRowEnabled
(enabled: any, li: ListBoxItem)
: void
SetSelectedIndex
(index: number)
: any
SetSelectedIndexOrFirst
(index: number)
: any
SetSelectedIndexOrLast
(index: number)
: any
SetSelectedItem
(item: any, comparer: , event: any)
: any
var list = form.GetControl("list1").GetValue();
var data = list.GetValue();
if (data.length > 0) {
list.SetSelectedItem(data[0]);
}
var list = form.GetControl("list1").GetValue();
list.SetSelectedItem({ID: 1}, function(a,b) { return a.ID === b.ID });
SetSelectedListItem
(item: any)
: any
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
SetValue
(value: any)
: void
Inherited from DataControl.SetValue
form.GetControl("CustomerCombo").SetValue({ID: "1", Name: "CustomerA"});
form.GetControl("checkbox").SetValue(true);
form.GetControl("label1").SetValue("My label text");
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
ShouldAddGlobalCssClass
()
: boolean
Inherited from BaseControl.ShouldAddGlobalCssClass
ShowColumn
(columnName: any)
: void
ShowColumnElements
(columnName: any)
: void
ShowWaitIndicator
()
: void
SortByField
(fieldName: string, ascending: boolean, dataType: string)
: void
SupportsUserEdit
()
: boolean
Inherited from DataControl.SupportsUserEdit
SwitchClass
(condition: boolean, classNames: string[])
: void
Inherited from BaseControl.SwitchClass
ToNormalModePrintable
()
: boolean
Inherited from BaseControl.ToNormalModePrintable
ToPrintModePrintable
()
: boolean
Inherited from BaseControl.ToPrintModePrintable
ToggleClass
(classNames: string[])
: void
Inherited from BaseControl.ToggleClass
UpdateColumnFilterVisibility
()
: void
WaitForAsyncControlsToLoad
(callback: any)
: void
Inherited from BaseControl.WaitForAsyncControlsToLoad
CreatePropertiesFromHtmlAttributes
(c: BaseControl, el: HTMLElement)
: any
Inherited from BaseControl.CreatePropertiesFromHtmlAttributes
FromJSON
(def: any)
: ListBox
FromJSON2
(r: ListBox, def: any)
: ListBox
Events
OnBeginEdit
(form: pf.Form, args: IItemEventArgs (Control: any, DataItem: any, Parent: any, Sender: any))
:
OnBeginEvaluateValue
(form: pf.Form, args: IEventArgs (Parent: any, Sender: any))
:
Inherited from DataControl.OnBeginEvaluateValue
OnCellCreated
(form: pf.Form, args: IListBoxItemEventArgs (Column: IListBoxColumn, ColumnName: string, Control: any, DataItem: any, FieldName: string, Parent: any, Sender: any))
:
OnControlAdded
(form: pf.Form, args: IControlAddedEventArgs (Control: any, Parent: any, Sender: any))
:
Inherited from BaseControl.OnControlAdded
OnEndEdit
(form: pf.Form, args: IItemEventArgs (Control: any, DataItem: any, Parent: any, Sender: any))
:
OnItemChanged
(form: pf.Form, args: IItemEventArgs (Control: any, DataItem: any, Parent: any, Sender: any))
:
OnItemDeleted
(form: pf.Form, args: IItemEventArgs (Control: any, DataItem: any, Parent: any, Sender: any))
:
OnLoadCompleted
(form: pf.Form, args: IEventArgs (Parent: any, Sender: any))
:
OnLoaded
(form: pf.Form, args: IEventArgs (Parent: any, Sender: any))
:
Inherited from BaseControl.OnLoaded
OnRowAdded
(form: pf.Form, args: IListBoxFormAddedEventArgs (Control: ListBoxItem, DataItem: any, Form: Form, Parent: any, Sender: any))
:
OnRowCreated
(form: pf.Form, args: IRowCreatedArgs (Control: any, DataItem: any, DisplayContainer: SimpleContainer, Parent: any, RootControl: BaseControl, RowContainer: SimpleContainer, Sender: any))
:
OnSelectedItemChanged
(form: pf.Form, args: IItemEventArgs (Control: any, DataItem: any, Parent: any, Sender: any))
:
var list = form.GetControl("listbox1");
list.OnSelectedItemChanged.Add(function(e) {
var item = e.DataItem;
if (item == null) {
form.GetControl("myLabel").SetValue("[No Item Selected]");
}
else {
form.GetControl("myLabel").SetValue("Item " + item.Name + " selected");
}
});
OnValueChangedFromUI
(form: pf.Form, args: IValueChangedEventArgs (Parent: any, PreviousValue: any, Sender: any, Value: any))
:
Inherited from DataControl.OnValueChangedFromUI
OnValueLoaded
(form: pf.Form, args: IEventArgs (Parent: any, Sender: any))
:
Inherited from DataControl.OnValueLoaded