C# Class SenseNet.Portal.UI.Controls.GenericFieldControl

Inheritance: ViewControlBase
Mostrar archivo Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
AddAllFields void
AddControls void
AddFieldControl void
AddFieldsOrder void
AddNameAndUrlName void
AddThankYouPage void
BindingFieldsAndControlsByAttribute Type>.Dictionary
CreateDefaultChoiceControl FieldControl
CreateDefaultDateTimeControl FieldControl
CreateDefaultLongTextControl FieldControl
CreateFieldControlByHint FieldControl
GetControlTypes Type>.Dictionary
InitializeWizard void
IsReadOnly bool
SortFieldNames IEnumerable
WizardNextButtonClick void
WizardPreviousButtonClick void

Public Methods

Method Description
CreateDefaultFieldControl ( Field field ) : FieldControl
GenericFieldControl ( ) : System
GetFieldVisibility ( ViewMode viewMode, Field field ) : FieldVisibility
GetVisibleFieldNames ( SenseNet.ContentRepository.Content content, ViewMode viewMode ) : List

Protected Methods

Method Description
LoadControlState ( object savedState ) : void
OnInit ( EventArgs e ) : void
SaveControlState ( ) : object

Private Methods

Method Description
AddAllFields ( ContentView cv, Field>.IDictionary fields ) : void
AddControls ( ) : void
AddFieldControl ( ContentView cv, Field field ) : void
AddFieldsOrder ( ContentView cv, Field>.IDictionary fields ) : void
AddNameAndUrlName ( List fieldNames, ContentView cv, Field>.IDictionary fields ) : void
AddThankYouPage ( ) : void
BindingFieldsAndControlsByAttribute ( ) : Type>.Dictionary
CreateDefaultChoiceControl ( ChoiceFieldSetting choiceSetting ) : FieldControl
CreateDefaultDateTimeControl ( DateTimeFieldSetting dateTimeFieldSetting ) : FieldControl
CreateDefaultLongTextControl ( LongTextFieldSetting longTextSetting ) : FieldControl
CreateFieldControlByHint ( string hint ) : FieldControl
GetControlTypes ( ) : Type>.Dictionary
InitializeWizard ( ) : void
IsReadOnly ( string fieldName ) : bool
SortFieldNames ( SenseNet.ContentRepository.Content content ) : IEnumerable
WizardNextButtonClick ( object sender, System.Web.UI.WebControls.WizardNavigationEventArgs e ) : void
WizardPreviousButtonClick ( object sender, System.Web.UI.WebControls.WizardNavigationEventArgs e ) : void

Method Details

CreateDefaultFieldControl() public static method

public static CreateDefaultFieldControl ( Field field ) : FieldControl
field SenseNet.ContentRepository.Field
return FieldControl

GenericFieldControl() public method

public GenericFieldControl ( ) : System
return System

GetFieldVisibility() public static method

public static GetFieldVisibility ( ViewMode viewMode, Field field ) : FieldVisibility
viewMode ViewMode
field SenseNet.ContentRepository.Field
return FieldVisibility

GetVisibleFieldNames() public static method

public static GetVisibleFieldNames ( SenseNet.ContentRepository.Content content, ViewMode viewMode ) : List
content SenseNet.ContentRepository.Content
viewMode ViewMode
return List

LoadControlState() protected method

protected LoadControlState ( object savedState ) : void
savedState object
return void

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

SaveControlState() protected method

protected SaveControlState ( ) : object
return object