Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Members: Show All Members: Filtered Members: Filtered Members: Filtered

C#
Visual Basic
Include Protected Members
Include Inherited Members

Azuki 1.7 Documentation
AzukiControl Methods
AzukiControl Class See Also Send Feedback

The AzukiControl type exposes the following members.

# Methods

| Name | Description
--- | --- | ---
| ClearHistory | Clears all stacked edit histories in currently active document.
| Copy | Executes copy action.
| Cut | Executes cut action.
| Delete | Executes delete action.
| Dispose | Disposes resources used by this AzukiControl. (Overrides Control..::..Dispose(Boolean).)
| GetCharIndexFromLineColumnIndex | Calculates char-index from screen line/column index.
| GetHRulerIndex(Int32) | Calculates location of character at specified index in horizontal ruler index.
| GetHRulerIndex(Int32, Int32) | Calculates location of character at specified index in horizontal ruler index.
| GetIGraphics | Gets a graphic interface.
| GetIndexFromPosition | Gets char-index of the char at the point specified by screen location.
| GetKeyBind(UInt32) | Gets an action which is already associated with given key. If no action was associate with given key, returns null.
| GetKeyBind(Keys) | Gets an action which is already associated with given key. If no action was associate with given key, returns null.
| GetLineColumnIndexFromCharIndex | Calculates screen line/column index from char-index.
| GetLineHeadIndex | Gets the index of the first char in the line.
| GetLineHeadIndexFromCharIndex | Gets the index of the first char in the screen line which contains the specified char-index.
| GetLineIndexFromCharIndex | Calculates screen line index from char-index.
| GetLineLength | Gets length of the specified line.
| GetPositionFromIndex(Int32) | Calculates screen location of the character at specified index.
| GetPositionFromIndex(Int32, Int32) | Calculates screen location of the character at specified index.
| GetSelectedText()()()() | Gets currently selected text.
| GetSelectedText(String) | Gets currently selected text.
| GetSelectedTextLength | Gets number of characters currently selected.
| GetSelection | Gets range of current selection. Note that this method does not return [anchor, caret) pair but [begin, end) pair.
| GetTextInRange | Gets text in the range [begin, end).
| GetWordAt | Gets a word at specified index.
| HandleTextInput | Processes specified text as an input by user.
| Invalidate()()()() | Invalidate graphic of whole area (force to be redrawn by next paint event message).
| Invalidate(Rectangle) | Invalidate graphic of the specified area (force to be redrawn by next paint event message).
| InvokeCaretMoved | (For internal use only) Invokes CaretMoved event.
| InvokeHScroll | (Internal use only.) Invokes HScroll event.
| InvokeIsRectSelectModeChanged | Obsolete. (For internal use only) Invokes IsRectSelectModeChanged event.
| InvokeLineDrawing | Invokes LineDrawing event.
| InvokeLineDrawn | Invokes LineDrawn event.
| InvokeOverwriteModeChanged | (For internal use only) Invokes OverwriteModeChanged event.
| InvokeVScroll | (Internal use only.) Invokes VScroll event.
| IsInputChar | This defines the characters which must be treated as input for this control. This affects mnemonic key event in a dialog and does not affect to KeyPress (WM_CHAR) event. (Overrides Control..::..IsInputChar(Char).)
| IsInputKey | This defines the keys which must be treated as input for this control. This affects mnemonic key event in a dialog and does not affect to KeyPress (WM_CHAR) event. (Overrides Control..::..IsInputKey(Keys).)
| OnClick | Invokes Click event with additional information through IMouseEventArgs. (Overrides Control..::..OnClick(EventArgs).)
| OnDoubleClick | Invokes DoubleClick event with additional information through IMouseEventArgs. (Overrides Control..::..OnDoubleClick(EventArgs).)
| OnGotFocus | Invokes GotFocus event. (Overrides Control..::..OnGotFocus(EventArgs).)
| OnHandleCreated | Invokes HandleCreated event. (Overrides Control..::..OnHandleCreated(EventArgs).)
| OnHandleDestroyed | Invokes HandleDestroyed event. (Overrides Control..::..OnHandleDestroyed(EventArgs).)
| OnKeyDown | Invokes KeyDown event. (Overrides Control..::..OnKeyDown(KeyEventArgs).)
| OnKeyPress | Invokes KeyPress event. (Overrides Control..::..OnKeyPress(KeyPressEventArgs).)
| OnLostFocus | Invokes LostFocus event. (Overrides Control..::..OnLostFocus(EventArgs).)
| OnMouseClick | Invokes MouseClick event with additional information through IMouseEventArgs. (Overrides Control..::..OnMouseClick(MouseEventArgs).)
| OnMouseDoubleClick | Invokes MouseDoubleClick event with additional information through IMouseEventArgs. (Overrides Control..::..OnMouseDoubleClick(MouseEventArgs).)
| OnMouseDown | Invokes MouseDown event with additional information through IMouseEventArgs. (Overrides Control..::..OnMouseDown(MouseEventArgs).)
| OnMouseMove | Invokes MouseMove event with additional information through IMouseEventArgs. (Overrides Control..::..OnMouseMove(MouseEventArgs).)
| OnMouseUp | Invokes MouseUp event with additional information through IMouseEventArgs. (Overrides Control..::..OnMouseUp(MouseEventArgs).)
| OnPaintBackground | Erases background. Note that Azuki does nothing on an event of redrawing background so just ignores WM_ERASEBKGND message. (Overrides Control..::..OnPaintBackground(PaintEventArgs).)
| OnResize | Invokes Resize event. (Overrides Control..::..OnResize(EventArgs).)
| Paste | Executes paste action.
| PreProcessMessage | Pre-processes window messages to override system default behavior. (Overrides Control..::..PreProcessMessage(Message%).)
| ProcessDialogKey | This overrides focusing strategy. (Overrides Control..::..ProcessDialogKey(Keys).)
| Redo | Executes REDO.
| RescheduleHighlighting | (Internal use only.) Make a highlighter run after a little moment.
| ResetKeyBind | Reset keybind to default.
| Scroll | Scrolls a portion of the window.
| ScrollToCaret | Scrolls to where the caret is.
| SelectAll | Selects all text.
| SetCursorGraphic | Sets graphic of mouse cursor.
| SetKeyBind(UInt32, ActionProc) | Sets or removes key-bind entry. Note that giving null to action will remove the key-bind.
| SetKeyBind(Keys, ActionProc) | Sets or removes key-bind entry. Note that giving null to action will remove the key-bind.
| SetSelection | Sets selection range and update the desired column.
| Undo | Executes UNDO.
| UpdateCaretGraphic()()()() | Updates size and position of the caret graphic.
| UpdateCaretGraphic(Rectangle) | Updates size and position of the caret graphic.
| UpdateScrollBarRange | Updates scrollbar's range.

# See Also

AzukiControl Class
Sgry.Azuki.WinForms Namespace