Table of Contents

Class Designer

Namespace: FastReport.Olap.Code.Editor
Assembly: FastCube.Mono.dll

Code designer form.

public class Designer : BaseDialogForm, ICodeDesigner

Inheritance

objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormBaseDialogFormDesigner

Implements

ICodeDesigner

Inherited Members

BaseDialogForm.Localize(), BaseDialogForm.Dispose(bool), BaseDialogForm.btnCancel, BaseDialogForm.btnOk

Constructors

Designer()

Creates a new default instance.

public Designer()

Properties

Editor

Gets syntax editor.

public TextBox Editor { get; }

Property Value

TextBox

EditorObject

Gets syntax editor.

public object EditorObject { get; }

Property Value

object

Script

Gets or sets the script.

public string Script { get; set; }

Property Value

string

Slice

Gets or sets the slice.

public Slice Slice { get; set; }

Property Value

Slice

UIStyle

Gets or sets the visual style.

public UIStyle UIStyle { get; set; }

Property Value

UIStyle

Methods

CanRedo()

Returns can redo action.

public bool CanRedo()

Returns

bool

CanUndo()

Returns can undo action.

public bool CanUndo()

Returns

bool

Copy()

Copies of the selection.

public void Copy()

Cut()

Cuts of the selection.

public void Cut()

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

EditorSelect(int, int)

Select text in the editor.

public void EditorSelect(int start, int length)

Parameters

start int

length int

Execute()

Executes the dialog.

public bool Execute()

Returns

bool

FocusEditor()

Focuses the editor.

public void FocusEditor()

Localize()

Localizes the dialog controls.

public override void Localize()

Remarks

Use this method to set control's captions specific to the current locale.

Paste()

Pastes to the cursor or selection.

public void Paste()

RestoreState()

Restores the state.

public void RestoreState()

SaveState()

Saves the sate.

public void SaveState()

UpdateLanguage()

Updates language of the syntax editor.

public void UpdateLanguage()

UpdateOptions()

Updates options.

public void UpdateOptions()

UpdateUIStyle()

Updates ui style.

public void UpdateUIStyle()