C# Class Skybrud.LinkPicker.Grid.Converters.LinkPickerGridConverter

Inheritance: IGridConverter
Datei anzeigen Open project: skybrud/Skybrud.LinkPicker

Public Methods

Method Description
ConvertControlValue ( GridControl control, JToken token, IGridControlValue &value ) : bool

Converts the specified token into an instance of IGridControlValue.

ConvertEditorConfig ( GridEditor editor, JToken token, IGridEditorConfig &config ) : bool

Converts the specified token into an instance of IGridEditorConfig.

GetControlWrapper ( GridControl control, GridControlWrapper &wrapper ) : bool

Gets an instance GridControlWrapper for the specified control.

Private Methods

Method Description
IsLinkPickerEditor ( GridEditor editor ) : bool

Method Details

ConvertControlValue() public method

Converts the specified token into an instance of IGridControlValue.
public ConvertControlValue ( GridControl control, JToken token, IGridControlValue &value ) : bool
control GridControl A reference to the parent .
token JToken The instance of representing the control value.
value IGridControlValue The converted control value.
return bool

ConvertEditorConfig() public method

Converts the specified token into an instance of IGridEditorConfig.
public ConvertEditorConfig ( GridEditor editor, JToken token, IGridEditorConfig &config ) : bool
editor GridEditor
token JToken The instance of representing the editor config.
config IGridEditorConfig The converted editor config.
return bool

GetControlWrapper() public method

Gets an instance GridControlWrapper for the specified control.
public GetControlWrapper ( GridControl control, GridControlWrapper &wrapper ) : bool
control GridControl The control to be wrapped.
wrapper Skybrud.Umbraco.GridData.Rendering.GridControlWrapper The wrapper.
return bool