C# Class newtelligence.DasBlog.Web.Core.EditControlAdapter

Converts a 3rd party text editor control's interface to the common interface needed by dasBlog
Exibir arquivo Open project: AArnott/dasblog Class Usage Examples

Public Methods

Method Description
HasText ( ) : bool

true if the Text property holds a non-default value; otherwise false.

Initialize ( ) : void

Performs additional initialization required after the control has been added to a parent control tree.

While most initialization should be performed in the adapter's constructor, there may be some steps that cannot be performed until the adapted control has been added to a control tree (ex: Page).

SetLanguage ( string language ) : void

Sets the language of the text in the Text property.

SetTextDirection ( SharedBasePage textDirection ) : void

Sets the direction of the text in the Text property.

Method Details

HasText() public method

true if the Text property holds a non-default value; otherwise false.
public HasText ( ) : bool
return bool

Initialize() public method

Performs additional initialization required after the control has been added to a parent control tree.
While most initialization should be performed in the adapter's constructor, there may be some steps that cannot be performed until the adapted control has been added to a control tree (ex: Page).
public Initialize ( ) : void
return void

SetLanguage() public method

Sets the language of the text in the Text property.
public SetLanguage ( string language ) : void
language string The language of the Text property.
return void

SetTextDirection() public method

Sets the direction of the text in the Text property.
public SetTextDirection ( SharedBasePage textDirection ) : void
textDirection SharedBasePage The direction of the text in the Text property
return void