C# 클래스 Stride.UI.Controls.EditText

파일 보기 프로젝트 열기: vvvv/stride

공개 프로퍼티들

프로퍼티 타입 설명
TextChangedEvent RoutedEvent

Private Properties

프로퍼티 타입 설명
EditText System
SetTextInternal void
TextChangedClassHandler void
UpdateTextToDisplay void

공개 메소드들

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

Appends a string to the contents of a text control.

CalculateTextSize ( ) : Vector2

Calculate and returns the size of the Text in virtual pixels size.

Clear ( ) : void

Clears all the content from the text box.

ResetCaretBlinking ( ) : void

Reset the caret blinking to initial state (visible).

Select ( int start, int length, bool caretAtBeginning = false ) : void

Selects a range of text in the text box.

If the value of start is too big the caret is positioned at the end of the current text. If the value of length is too big the selection is extended to the end current text.

SelectAll ( bool caretAtBeginning = false ) : void

Selects all the contents of the text editing control.

보호된 메소드들

메소드 설명
ArrangeOverride ( Vector3 finalSizeWithoutMargins ) : Vector3
CalculateTextSize ( string textToMeasure ) : Vector2

Calculate and returns the size of the provided textToMeasure"/> in virtual pixels size.

MeasureOverride ( Vector3 availableSizeWithoutMargins ) : Vector3
OnIsReadOnlyChanged ( ) : void

Function triggered when the value of IsReadOnly changed.

OnMaxLengthChanged ( ) : void

Function triggered when the value of MaxLength changed.

OnMaxLinesChanged ( ) : void

Function triggered when the value of MaxLines changed.

OnMinLinesChanged ( ) : void

Function triggered when the value of MinLines changed.

OnTextChanged ( RoutedEventArgs args ) : void

The class handler of the event TextChanged. This method can be overridden in inherited classes to perform actions common to all instances of a class.

OnTouchDown ( TouchEventArgs args ) : void
OnTouchLeave ( TouchEventArgs args ) : void
OnTouchMove ( TouchEventArgs args ) : void
OnTouchUp ( TouchEventArgs args ) : void
Update ( GameTime time ) : void

비공개 메소드들

메소드 설명
EditText ( ) : System
SetTextInternal ( string newText, bool updateNativeEdit ) : void
TextChangedClassHandler ( object sender, RoutedEventArgs e ) : void
UpdateTextToDisplay ( ) : void

메소드 상세

AppendText() 공개 메소드

Appends a string to the contents of a text control.
public AppendText ( string textData ) : void
textData string A string that specifies the text to append to the current contents of the text control.
리턴 void

ArrangeOverride() 보호된 메소드

protected ArrangeOverride ( Vector3 finalSizeWithoutMargins ) : Vector3
finalSizeWithoutMargins Vector3
리턴 Vector3

CalculateTextSize() 공개 메소드

Calculate and returns the size of the Text in virtual pixels size.
public CalculateTextSize ( ) : Vector2
리턴 Vector2

CalculateTextSize() 보호된 메소드

Calculate and returns the size of the provided textToMeasure"/> in virtual pixels size.
protected CalculateTextSize ( string textToMeasure ) : Vector2
textToMeasure string The text to measure
리턴 Vector2

Clear() 공개 메소드

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

MeasureOverride() 보호된 메소드

protected MeasureOverride ( Vector3 availableSizeWithoutMargins ) : Vector3
availableSizeWithoutMargins Vector3
리턴 Vector3

OnIsReadOnlyChanged() 보호된 메소드

Function triggered when the value of IsReadOnly changed.
protected OnIsReadOnlyChanged ( ) : void
리턴 void

OnMaxLengthChanged() 보호된 메소드

Function triggered when the value of MaxLength changed.
protected OnMaxLengthChanged ( ) : void
리턴 void

OnMaxLinesChanged() 보호된 메소드

Function triggered when the value of MaxLines changed.
protected OnMaxLinesChanged ( ) : void
리턴 void

OnMinLinesChanged() 보호된 메소드

Function triggered when the value of MinLines changed.
protected OnMinLinesChanged ( ) : void
리턴 void

OnTextChanged() 보호된 메소드

The class handler of the event TextChanged. This method can be overridden in inherited classes to perform actions common to all instances of a class.
protected OnTextChanged ( RoutedEventArgs args ) : void
args RoutedEventArgs The arguments of the event
리턴 void

OnTouchDown() 보호된 메소드

protected OnTouchDown ( TouchEventArgs args ) : void
args TouchEventArgs
리턴 void

OnTouchLeave() 보호된 메소드

protected OnTouchLeave ( TouchEventArgs args ) : void
args TouchEventArgs
리턴 void

OnTouchMove() 보호된 메소드

protected OnTouchMove ( TouchEventArgs args ) : void
args TouchEventArgs
리턴 void

OnTouchUp() 보호된 메소드

protected OnTouchUp ( TouchEventArgs args ) : void
args TouchEventArgs
리턴 void

ResetCaretBlinking() 공개 메소드

Reset the caret blinking to initial state (visible).
public ResetCaretBlinking ( ) : void
리턴 void

Select() 공개 메소드

Selects a range of text in the text box.
If the value of start is too big the caret is positioned at the end of the current text. If the value of length is too big the selection is extended to the end current text.
public Select ( int start, int length, bool caretAtBeginning = false ) : void
start int The zero-based character index of the first character in the selection.
length int The length of the selection, in characters.
caretAtBeginning bool Indicate if the caret should be at the beginning or the end of the selection
리턴 void

SelectAll() 공개 메소드

Selects all the contents of the text editing control.
public SelectAll ( bool caretAtBeginning = false ) : void
caretAtBeginning bool Indicate if the caret should be at the beginning or the end of the selection
리턴 void

Update() 보호된 메소드

protected Update ( GameTime time ) : void
time GameTime
리턴 void

프로퍼티 상세

TextChangedEvent 공개적으로 정적으로 프로퍼티

Identifies the TextChanged routed event.
public static RoutedEvent TextChangedEvent
리턴 RoutedEvent