Property | Type | Description | |
---|---|---|---|
CreateRenderer | System.Windows.Forms.VisualStyles.VisualStyleRenderer | ||
GetDympMaxHeight | int | ||
HandleKeyDown | void | ||
OnInnerTextBoxLostFocus | void | ||
SetPadding | void | ||
m_innerFwTextBox_GotFocus | void | ||
m_innerFwTextBox_MouseEnter | void | ||
m_innerFwTextBox_MouseLeave | void |
Method | Description | |
---|---|---|
AdjustForStyleSheet ( |
Assumes the control is part of a form and should use a stylesheet. This becomes the stylesheet of the text box. If, as a result, the preferred height of this becomes greater than its actual height, the height of this is adjusted to suit. In addition, if grower is not null (grower is typically a containing panel), the height of grower is increased by the same amount. Also, the height of the indicated form is increased, and any top level controls which need it are adjusted appropriately.
|
|
AdjustForStyleSheet ( |
Adjust, figuring the stylesheet based on the main window of the mediator.
|
|
AdjustForStyleSheet ( IVwStylesheet ss ) : void |
Adjust the height of the text box appropriately for the given stylesheet. This version moves any controls below the text box, but does not adjust the size of the parent control.
|
|
ApplyStyle ( string sStyle ) : void |
Applies the specified style to the current selection of the Tss string
|
|
ApplyWS ( int hvoWs ) : void |
Applies the specified writing system to the current selection
|
|
BeginInit ( ) : void |
Required to implement ISupportInitialize.
|
|
CheckDisposed ( ) : void |
Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
|
|
CreateBitmapOfText ( Padding margins, |
Creates a bitmap and renders the text in this FwTextBox in the bitmap.
|
|
EndInit ( ) : void |
When all properties have been initialized, this will be called.
|
|
FwTextBox ( ) : System |
Default Constructor
|
|
PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void |
|
|
RemoveSelection ( ) : void |
Remove any selection from the text box.
|
|
ScrollSelectionIntoView ( ) : void |
Scrolls the current selection into view.
|
|
Select ( int start, int length ) : void |
Selects a range of text in the text box. If you want to set the start position to the first character in the control's text, set the start parameter to 0. You can use this method to select a substring of text, such as when searching through the text of the control and replacing information. Note: You can programmatically move the caret within the text box by setting the start parameter to the position within the text box where you want the caret to move to and set the length parameter to a value of zero (0). The text box must have focus in order for the caret to be moved. |
|
SelectAll ( ) : void |
Selects all text in the text box.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed. If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation. |
|
OnPaint ( PaintEventArgs e ) : void |
|
|
ScaleControl ( SizeF factor, BoundsSpecified specified ) : void |
Scales a control's location, size, padding and margin.
|
|
Select ( bool directed, bool forward ) : void |
Activates a child control.
|
Method | Description | |
---|---|---|
CreateRenderer ( TextBoxState state, bool focused, bool hasBorder ) : System.Windows.Forms.VisualStyles.VisualStyleRenderer | ||
GetDympMaxHeight ( Control control ) : int |
calculate the height of the edit boxes in millipoints.
|
|
HandleKeyDown ( KeyEventArgs e ) : void |
Handles the key down.
|
|
OnInnerTextBoxLostFocus ( object sender, EventArgs e ) : void |
When the inner fw text box loses focus, fire InnerTextBoxLostFocus.
|
|
SetPadding ( ) : void | ||
m_innerFwTextBox_GotFocus ( object sender, EventArgs e ) : void |
Handles the GotFocus event of the m_innerFwTextBox control.
|
|
m_innerFwTextBox_MouseEnter ( object sender, EventArgs e ) : void | ||
m_innerFwTextBox_MouseLeave ( object sender, EventArgs e ) : void |
public AdjustForStyleSheet ( |
||
parent | The parent. | |
grower | The grower. | |
stylesheet | IVwStylesheet | The stylesheet. |
return | void |
public AdjustForStyleSheet ( |
||
parent | ||
grower | ||
mediator | XCore | |
return | void |
public AdjustForStyleSheet ( IVwStylesheet ss ) : void | ||
ss | IVwStylesheet | |
return | void |
public ApplyStyle ( string sStyle ) : void | ||
sStyle | string | The name of the style to apply |
return | void |
public ApplyWS ( int hvoWs ) : void | ||
hvoWs | int | The ID of the writing system to apply |
return | void |
public CreateBitmapOfText ( Padding margins, |
||
margins | Padding | Rectangle with the margins. |
content | The rectangle that specifies the width and height of the content. /// | |
return |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
public PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void | ||
hvo | int | |
tag | int | |
ivMin | int | |
cvIns | int | |
cvDel | int | |
return | void |
protected ScaleControl ( SizeF factor, BoundsSpecified specified ) : void | ||
factor | SizeF | The factor by which the height and width of the control will be /// scaled. |
specified | BoundsSpecified | A |
return | void |
protected Select ( bool directed, bool forward ) : void | ||
directed | bool | true to specify the direction of the control to select; otherwise, false. |
forward | bool | true to move forward in the tab order; false to move backward in the tab order. |
return | void |
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. |
return | void |