C# Class ScrewTurn.Wiki.Editor

Inheritance: System.Web.UI.UserControl
Afficher le fichier Open project: mono/ScrewTurnWiki

Protected Properties

Свойство Type Description
btnBiggerMarkup global::Anthem.ImageButton
btnBiggerMarkupVisual global::Anthem.ImageButton
btnPreview global::Anthem.Button
btnSmallerMarkup global::Anthem.ImageButton
btnSmallerMarkupVisual global::Anthem.ImageButton
btnVisual global::Anthem.Button
btnWikiMarkup global::Anthem.Button
lblCustomSpecialTags global::System.Web.UI.WebControls.Literal
lblPreview global::System.Web.UI.WebControls.Literal
lblPreviewWarning global::System.Web.UI.WebControls.Label
lblSnippets global::System.Web.UI.WebControls.Label
lblStrings global::System.Web.UI.WebControls.Literal
lblToolbarInit global::System.Web.UI.WebControls.Literal
lblWYSIWYG global::Anthem.TextBox
mlvEditor global::Anthem.MultiView
txtMarkup global::Anthem.TextBox
viwPreview global::Anthem.View
viwStandard global::Anthem.View
viwVisual global::Anthem.View

Méthodes publiques

Méthode Description
GetContent ( ) : string

Gets the edited content.

IsInWikiMarkup ( ) : bool

Gets a value indicating whether the editor is in WikiMarkup mode.

SetContent ( string content, bool useVisual ) : void

Sets the edited content.

Méthodes protégées

Méthode Description
Page_Load ( object sender, EventArgs e ) : void
btnPreview_Click ( object sender, EventArgs e ) : void
btnVisual_Click ( object sender, EventArgs e ) : void
btnWikiMarkup_Click ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
GetParametersPlaceHolders ( string parameters, bool isSnippetPositional ) : string

Gets the placeholder for snippet parameters.

InitToolbar ( ) : void
IsSnippetPositional ( string parameters ) : bool

Determines whether the parameters of a snippet are positional or not.

LoadSnippets ( ) : void

Loads and prints the snippets.

PrintCustomSpecialTags ( ) : void

Prints the custom special tags.

SelectTab ( int index ) : void

Selects the active tab.

Method Details

GetContent() public méthode

Gets the edited content.
public GetContent ( ) : string
Résultat string

IsInWikiMarkup() public méthode

Gets a value indicating whether the editor is in WikiMarkup mode.
public IsInWikiMarkup ( ) : bool
Résultat bool

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

SetContent() public méthode

Sets the edited content.
public SetContent ( string content, bool useVisual ) : void
content string The content.
useVisual bool true if the visual editor must be used, false otherwise.
Résultat void

btnPreview_Click() protected méthode

protected btnPreview_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnVisual_Click() protected méthode

protected btnVisual_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnWikiMarkup_Click() protected méthode

protected btnWikiMarkup_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

btnBiggerMarkup protected_oe property

btnBiggerMarkup control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.ImageButton btnBiggerMarkup
Résultat global::Anthem.ImageButton

btnBiggerMarkupVisual protected_oe property

btnBiggerMarkupVisual control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.ImageButton btnBiggerMarkupVisual
Résultat global::Anthem.ImageButton

btnPreview protected_oe property

btnPreview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnPreview
Résultat global::Anthem.Button

btnSmallerMarkup protected_oe property

btnSmallerMarkup control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.ImageButton btnSmallerMarkup
Résultat global::Anthem.ImageButton

btnSmallerMarkupVisual protected_oe property

btnSmallerMarkupVisual control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.ImageButton btnSmallerMarkupVisual
Résultat global::Anthem.ImageButton

btnVisual protected_oe property

btnVisual control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnVisual
Résultat global::Anthem.Button

btnWikiMarkup protected_oe property

btnWikiMarkup control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnWikiMarkup
Résultat global::Anthem.Button

lblCustomSpecialTags protected_oe property

lblCustomSpecialTags control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblCustomSpecialTags
Résultat global::System.Web.UI.WebControls.Literal

lblPreview protected_oe property

lblPreview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblPreview
Résultat global::System.Web.UI.WebControls.Literal

lblPreviewWarning protected_oe property

lblPreviewWarning control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblPreviewWarning
Résultat global::System.Web.UI.WebControls.Label

lblSnippets protected_oe property

lblSnippets control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblSnippets
Résultat global::System.Web.UI.WebControls.Label

lblStrings protected_oe property

lblStrings control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblStrings
Résultat global::System.Web.UI.WebControls.Literal

lblToolbarInit protected_oe property

lblToolbarInit control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblToolbarInit
Résultat global::System.Web.UI.WebControls.Literal

lblWYSIWYG protected_oe property

lblWYSIWYG control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.TextBox lblWYSIWYG
Résultat global::Anthem.TextBox

mlvEditor protected_oe property

mlvEditor control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.MultiView mlvEditor
Résultat global::Anthem.MultiView

txtMarkup protected_oe property

txtMarkup control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.TextBox txtMarkup
Résultat global::Anthem.TextBox

viwPreview protected_oe property

viwPreview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.View viwPreview
Résultat global::Anthem.View

viwStandard protected_oe property

viwStandard control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.View viwStandard
Résultat global::Anthem.View

viwVisual protected_oe property

viwVisual control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.View viwVisual
Résultat global::Anthem.View