C# 클래스 ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupTextBox

상속: KryptonRibbonGroupItem
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateView ViewBase
MonitorControl void
OnControlEnter void
OnControlLeave void
OnDesignTimeContextMenu void
OnPaletteNeedPaint void
OnRibbonPaletteChanged void
OnTextBoxAcceptsTabChanged void
OnTextBoxGotFocus void
OnTextBoxHideSelectionChanged void
OnTextBoxKeyDown void
OnTextBoxKeyPress void
OnTextBoxKeyUp void
OnTextBoxLostFocus void
OnTextBoxModifiedChanged void
OnTextBoxMultilineChanged void
OnTextBoxPreviewKeyDown void
OnTextBoxReadOnlyChanged void
OnTextBoxTextAlignChanged void
OnTextBoxTextChanged void
ProcessCmdKey bool
ShouldSerializeShortcutKeys bool
UnmonitorControl void

공개 메소드들

메소드 설명
AppendText ( string text ) : void

Appends text to the current text of a rich text box.

Clear ( ) : void

Clears all text from the text box control.

ClearUndo ( ) : void

Clears information about the most recent operation from the undo buffer of the rich text box.

Copy ( ) : void

Copies the current selection in the text box to the Clipboard.

Cut ( ) : void

Moves the current selection in the text box to the Clipboard.

DeselectAll ( ) : void

Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control.

GetCharFromPosition ( Point pt ) : int

Retrieves the character that is closest to the specified location within the control.

GetCharIndexFromPosition ( Point pt ) : int

Retrieves the index of the character nearest to the specified location.

GetFirstCharIndexFromLine ( int lineNumber ) : int

Retrieves the index of the first character of a given line.

GetFirstCharIndexOfCurrentLine ( ) : int

Retrieves the index of the first character of the current line.

GetLineFromCharIndex ( int index ) : int

Retrieves the line number from the specified character position within the text of the RichTextBox control.

GetPositionFromCharIndex ( int index ) : Point

Retrieves the location within the control at the specified character index.

Hide ( ) : void

Make the ribbon group textbox hidden.

KryptonRibbonGroupTextBox ( ) : System

Initialise a new instance of the KryptonRibbonGroupTextBox class.

Paste ( ) : void

Replaces the current selection in the text box with the contents of the Clipboard.

ResetShortcutKeys ( ) : void

Resets the ShortcutKeys property to its default value.

ScrollToCaret ( ) : void

Scrolls the contents of the control to the current caret position.

Select ( int start, int length ) : void

Selects a range of text in the control.

SelectAll ( ) : void

Selects all text in the control.

Show ( ) : void

Make the ribbon group textbox visible.

Undo ( ) : void

Undoes the last edit operation in the text box.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnAcceptsTabChanged ( EventArgs e ) : void

Raises the AcceptsTabChanged event.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnHideSelectionChanged ( EventArgs e ) : void

Raises the HideSelectionChanged event.

OnKeyDown ( KeyEventArgs e ) : void

Raises the KeyDown event.

OnKeyPress ( KeyPressEventArgs e ) : void

Raises the KeyPress event.

OnKeyUp ( KeyEventArgs e ) : void

Raises the KeyUp event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event.

OnModifiedChanged ( EventArgs e ) : void

Raises the ModifiedChanged event.

OnMultilineChanged ( EventArgs e ) : void

Raises the MultilineChanged event.

OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void

Raises the PreviewKeyDown event.

OnPropertyChanged ( string propertyName ) : void

Raises the PropertyChanged event.

OnReadOnlyChanged ( EventArgs e ) : void

Raises the ReadOnlyChanged event.

OnTextAlignChanged ( EventArgs e ) : void

Raises the TextAlignChanged event.

OnTextChanged ( EventArgs e ) : void

Raises the TextChanged event.

비공개 메소드들

메소드 설명
CreateView ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : ViewBase
MonitorControl ( KryptonTextBox c ) : void
OnControlEnter ( object sender, EventArgs e ) : void
OnControlLeave ( object sender, EventArgs e ) : void
OnDesignTimeContextMenu ( MouseEventArgs e ) : void
OnPaletteNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
OnRibbonPaletteChanged ( object sender, EventArgs e ) : void
OnTextBoxAcceptsTabChanged ( object sender, EventArgs e ) : void
OnTextBoxGotFocus ( object sender, EventArgs e ) : void
OnTextBoxHideSelectionChanged ( object sender, EventArgs e ) : void
OnTextBoxKeyDown ( object sender, KeyEventArgs e ) : void
OnTextBoxKeyPress ( object sender, KeyPressEventArgs e ) : void
OnTextBoxKeyUp ( object sender, KeyEventArgs e ) : void
OnTextBoxLostFocus ( object sender, EventArgs e ) : void
OnTextBoxModifiedChanged ( object sender, EventArgs e ) : void
OnTextBoxMultilineChanged ( object sender, EventArgs e ) : void
OnTextBoxPreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
OnTextBoxReadOnlyChanged ( object sender, EventArgs e ) : void
OnTextBoxTextAlignChanged ( object sender, EventArgs e ) : void
OnTextBoxTextChanged ( object sender, EventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool
ShouldSerializeShortcutKeys ( ) : bool
UnmonitorControl ( KryptonTextBox c ) : void

메소드 상세

AppendText() 공개 메소드

Appends text to the current text of a rich text box.
public AppendText ( string text ) : void
text string The text to append to the current contents of the text box.
리턴 void

Clear() 공개 메소드

Clears all text from the text box control.
public Clear ( ) : void
리턴 void

ClearUndo() 공개 메소드

Clears information about the most recent operation from the undo buffer of the rich text box.
public ClearUndo ( ) : void
리턴 void

Copy() 공개 메소드

Copies the current selection in the text box to the Clipboard.
public Copy ( ) : void
리턴 void

Cut() 공개 메소드

Moves the current selection in the text box to the Clipboard.
public Cut ( ) : void
리턴 void

DeselectAll() 공개 메소드

Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control.
public DeselectAll ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetCharFromPosition() 공개 메소드

Retrieves the character that is closest to the specified location within the control.
public GetCharFromPosition ( Point pt ) : int
pt Point The location from which to seek the nearest character.
리턴 int

GetCharIndexFromPosition() 공개 메소드

Retrieves the index of the character nearest to the specified location.
public GetCharIndexFromPosition ( Point pt ) : int
pt Point The location to search.
리턴 int

GetFirstCharIndexFromLine() 공개 메소드

Retrieves the index of the first character of a given line.
public GetFirstCharIndexFromLine ( int lineNumber ) : int
lineNumber int The line for which to get the index of its first character.
리턴 int

GetFirstCharIndexOfCurrentLine() 공개 메소드

Retrieves the index of the first character of the current line.
public GetFirstCharIndexOfCurrentLine ( ) : int
리턴 int

GetLineFromCharIndex() 공개 메소드

Retrieves the line number from the specified character position within the text of the RichTextBox control.
public GetLineFromCharIndex ( int index ) : int
index int The character index position to search.
리턴 int

GetPositionFromCharIndex() 공개 메소드

Retrieves the location within the control at the specified character index.
public GetPositionFromCharIndex ( int index ) : Point
index int The index of the character for which to retrieve the location.
리턴 Point

Hide() 공개 메소드

Make the ribbon group textbox hidden.
public Hide ( ) : void
리턴 void

KryptonRibbonGroupTextBox() 공개 메소드

Initialise a new instance of the KryptonRibbonGroupTextBox class.
public KryptonRibbonGroupTextBox ( ) : System
리턴 System

OnAcceptsTabChanged() 보호된 메소드

Raises the AcceptsTabChanged event.
protected OnAcceptsTabChanged ( EventArgs e ) : void
e EventArgs An EventArgs containing the event data.
리턴 void

OnGotFocus() 보호된 메소드

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e EventArgs An EventArgs containing the event data.
리턴 void

OnHideSelectionChanged() 보호된 메소드

Raises the HideSelectionChanged event.
protected OnHideSelectionChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnKeyDown() 보호된 메소드

Raises the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs An KeyEventArgs containing the event data.
리턴 void

OnKeyPress() 보호된 메소드

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs An KeyPressEventArgs containing the event data.
리턴 void

OnKeyUp() 보호된 메소드

Raises the KeyUp event.
protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs An KeyEventArgs containing the event data.
리턴 void

OnLostFocus() 보호된 메소드

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e EventArgs An EventArgs containing the event data.
리턴 void

OnModifiedChanged() 보호된 메소드

Raises the ModifiedChanged event.
protected OnModifiedChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnMultilineChanged() 보호된 메소드

Raises the MultilineChanged event.
protected OnMultilineChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnPreviewKeyDown() 보호된 메소드

Raises the PreviewKeyDown event.
protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e PreviewKeyDownEventArgs An PreviewKeyDownEventArgs containing the event data.
리턴 void

OnPropertyChanged() 보호된 메소드

Raises the PropertyChanged event.
protected OnPropertyChanged ( string propertyName ) : void
propertyName string Name of property that has changed.
리턴 void

OnReadOnlyChanged() 보호된 메소드

Raises the ReadOnlyChanged event.
protected OnReadOnlyChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnTextAlignChanged() 보호된 메소드

Raises the TextAlignChanged event.
protected OnTextAlignChanged ( EventArgs e ) : void
e EventArgs An EventArgs containing the event data.
리턴 void

OnTextChanged() 보호된 메소드

Raises the TextChanged event.
protected OnTextChanged ( EventArgs e ) : void
e EventArgs An EventArgs containing the event data.
리턴 void

Paste() 공개 메소드

Replaces the current selection in the text box with the contents of the Clipboard.
public Paste ( ) : void
리턴 void

ResetShortcutKeys() 공개 메소드

Resets the ShortcutKeys property to its default value.
public ResetShortcutKeys ( ) : void
리턴 void

ScrollToCaret() 공개 메소드

Scrolls the contents of the control to the current caret position.
public ScrollToCaret ( ) : void
리턴 void

Select() 공개 메소드

Selects a range of text in the control.
public Select ( int start, int length ) : void
start int The position of the first character in the current text selection within the text box.
length int The number of characters to select.
리턴 void

SelectAll() 공개 메소드

Selects all text in the control.
public SelectAll ( ) : void
리턴 void

Show() 공개 메소드

Make the ribbon group textbox visible.
public Show ( ) : void
리턴 void

Undo() 공개 메소드

Undoes the last edit operation in the text box.
public Undo ( ) : void
리턴 void