C# Class XAF_Bootstrap.Editors.XafBootstrapPropertyEditors.XafBootstrapLookupPropertyEditor

Inheritance: ASPxPropertyEditor, IXafBootstrapEditor, IComplexViewItem
Show file Open project: Terricks/XAFBootstrap

Public Properties

Property Type Description
Application XafApplication
DataSelector XAF_Bootstrap.Controls.XafBootstrapDataSelectorEdit
DropDown XAF_Bootstrap.Controls.XafBootstrapDropdownEdit
IsSelector System.Boolean
ObjectSpace IObjectSpace

Public Methods

Method Description
BreakLinksToControl ( bool unwireEventsOnly ) : void
Cast ( object obj, Type t ) : dynamic
GetImmediatePostDataScript ( ) : string
IComplexViewItem ( DevExpress objectSpace, DevExpress application ) : void
OnCallback ( object source, DevExpress e ) : void
OnCancel ( ) : void
OnOk ( ) : void
XafBootstrapLookupPropertyEditor ( Type objectType, IModelMemberViewItem info ) : System

Protected Methods

Method Description
CreateEditModeControlCore ( ) : System.Web.UI.WebControls.WebControl
CreateViewModeControlCore ( ) : System.Web.UI.WebControls.WebControl
GetControlValueCore ( ) : object
ReadEditModeValueCore ( ) : void
ReadViewModeValueCore ( ) : void
SetImmediatePostDataCompanionScript ( string script ) : void
SetupControl ( System control ) : void

Private Methods

Method Description
AddObjToDropDown ( object obj ) : void
CreateButtons ( ) : void
DataSelector_OnCallback ( object source, DevExpress e ) : void
DataSelector_OnCancel ( object sender, EventArgs e ) : void
DataSelector_OnOk ( object sender, EventArgs e ) : void
InitEdit ( ) : void
XafBootstrapDropdownEdit_AddNew ( object sender, EventArgs e ) : void
XafBootstrapDropdownEdit_Remove ( object sender, EventArgs e ) : void

Method Details

BreakLinksToControl() public method

public BreakLinksToControl ( bool unwireEventsOnly ) : void
unwireEventsOnly bool
return void

Cast() public method

public Cast ( object obj, Type t ) : dynamic
obj object
t System.Type
return dynamic

CreateEditModeControlCore() protected method

protected CreateEditModeControlCore ( ) : System.Web.UI.WebControls.WebControl
return System.Web.UI.WebControls.WebControl

CreateViewModeControlCore() protected method

protected CreateViewModeControlCore ( ) : System.Web.UI.WebControls.WebControl
return System.Web.UI.WebControls.WebControl

GetControlValueCore() protected method

protected GetControlValueCore ( ) : object
return object

GetImmediatePostDataScript() public method

public GetImmediatePostDataScript ( ) : string
return string

IComplexViewItem() public method

public IComplexViewItem ( DevExpress objectSpace, DevExpress application ) : void
objectSpace DevExpress
application DevExpress
return void

OnCallback() public method

public OnCallback ( object source, DevExpress e ) : void
source object
e DevExpress
return void

OnCancel() public method

public OnCancel ( ) : void
return void

OnOk() public method

public OnOk ( ) : void
return void

ReadEditModeValueCore() protected method

protected ReadEditModeValueCore ( ) : void
return void

ReadViewModeValueCore() protected method

protected ReadViewModeValueCore ( ) : void
return void

SetImmediatePostDataCompanionScript() protected method

protected SetImmediatePostDataCompanionScript ( string script ) : void
script string
return void

SetupControl() protected method

protected SetupControl ( System control ) : void
control System
return void

XafBootstrapLookupPropertyEditor() public method

public XafBootstrapLookupPropertyEditor ( Type objectType, IModelMemberViewItem info ) : System
objectType System.Type
info IModelMemberViewItem
return System

Property Details

Application public property

public XafApplication Application
return XafApplication

DataSelector public property

public XafBootstrapDataSelectorEdit,XAF_Bootstrap.Controls DataSelector
return XAF_Bootstrap.Controls.XafBootstrapDataSelectorEdit

DropDown public property

public XafBootstrapDropdownEdit,XAF_Bootstrap.Controls DropDown
return XAF_Bootstrap.Controls.XafBootstrapDropdownEdit

IsSelector public property

public Boolean,System IsSelector
return System.Boolean

ObjectSpace public property

public IObjectSpace ObjectSpace
return IObjectSpace