Class Designer
Namespace: FastReport.Olap.Code.Editor
Assembly: FastCube.WinForms.dll
Code designer form.
public class Designer : BaseDialogForm, ICodeDesigner
Inheritance
object ← MarshalByRefObject ← Component ← Control ← ScrollableControl ← ContainerControl ← Form ← BaseDialogForm ← Designer
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 SyntaxEdit Editor { get; }
Property Value
SyntaxEdit
EditorObject
Gets syntax editor.
public object EditorObject { get; }
Property Value
Script
Gets or sets the script.
public string Script { get; set; }
Property Value
Slice
Gets or sets the slice.
public Slice Slice { get; set; }
Property Value
Slice
Source
Gets text source.
public TextSource Source { get; }
Property Value
TextSource
UIStyle
Gets or sets the visual style.
public UIStyle UIStyle { get; set; }
Property Value
Methods
CanRedo()
Returns can redo action.
public bool CanRedo()
Returns
CanUndo()
Returns can undo action.
public bool CanUndo()
Returns
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
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()