Property | Type | Description | |
---|---|---|---|
m_cache | SIL.FieldWorks.FDO.FdoCache | ||
m_fontCache | Font>.Dictionary | ||
m_textBoxControl | SIL.FieldWorks.Common.Widgets.FwTextBoxControl | ||
m_ws | int |
Property | Type | Description | |
---|---|---|---|
FwTextBoxColumn | System | ||
GetValuesFont | |||
GetWritingSystem | IWritingSystem | ||
GetWritingSystemHandle | int | ||
GetWritingSystemHandleWithFallback | int | ||
OnColumnWidthChanged | void | ||
OnSortCompare | void | ||
SetZoomFactor | void |
Method | Description | |
---|---|---|
FwTextBoxColumn ( ) : System |
Initializes a new instance of the FwTextBoxColumn class. Used by Designer |
|
FwTextBoxColumn ( SIL.FieldWorks.FDO.FdoCache cache, bool rowsAreMultiLing ) : System |
Initializes a new instance of the FwTextBoxColumn class.
|
|
GetDefaultNewRowValue ( int rowIndex ) : ITsString |
Gets the default value for a cell in the row for new records.
|
|
InitializeTextBoxControl ( |
Initializes the text box control.
|
|
SetCellStyleAlignment ( int ws, System.Windows.Forms.DataGridViewCellStyle style ) : void |
Modifies the alignment of the specified cell style based on the specified writing system's RTL value.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
HandleCellFormatting ( object sender, System.Windows.Forms.DataGridViewCellFormattingEventArgs e ) : void |
Make sure the cell get's its font from it's ITsString's ITextProps when m_useTextPropsFontForCell is true.
|
|
OnDataGridViewChanged ( ) : void |
Called when the band is associated with a different
|
|
OnRowHeightChanged ( object sender, System.Windows.Forms.DataGridViewRowEventArgs e ) : void |
Called when a row in the grid changes heights. Make sure to adjust the FwTextBoxControls, if it's showing in the resized row in this column.
|
Method | Description | |
---|---|---|
FwTextBoxColumn ( SIL.FieldWorks.FDO.FdoCache cache ) : System | ||
GetValuesFont ( ITsString tss, int ws ) : |
Get the font for the specified TsString and writing system.
|
|
GetWritingSystem ( int rowIndex ) : IWritingSystem |
Gets the writing system.
|
|
GetWritingSystemHandle ( int rowIndex ) : int |
Gets the writing system.
|
|
GetWritingSystemHandleWithFallback ( int rowIndex ) : int |
Gets the writing system handle for the column. If that is 0 (i.e., not specified), attempt to get the writing system from the specified DataGridView row.
|
|
OnColumnWidthChanged ( object sender, System.Windows.Forms.DataGridViewColumnEventArgs e ) : void |
Called when the column width changed.
|
|
OnSortCompare ( object sender, System.Windows.Forms.DataGridViewSortCompareEventArgs e ) : void |
Occurs when the DataGridView compares two cell values to perform a sort operation.
|
|
SetZoomFactor ( float factor ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | set to |
return | void |
public FwTextBoxColumn ( SIL.FieldWorks.FDO.FdoCache cache, bool rowsAreMultiLing ) : System | ||
cache | SIL.FieldWorks.FDO.FdoCache | |
rowsAreMultiLing | bool | |
return | System |
public GetDefaultNewRowValue ( int rowIndex ) : ITsString | ||
rowIndex | int | |
return | ITsString |
protected HandleCellFormatting ( object sender, System.Windows.Forms.DataGridViewCellFormattingEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Forms.DataGridViewCellFormattingEventArgs | |
return | void |
public InitializeTextBoxControl ( |
||
fwTxtBox | The FwTextBox control to initialize. When this is null, then /// the column's internal FwTextBox (i.e. m_textBoxControl) is initialized. | |
tss | ITsString | The TsString fwTxtBox is initialized to. |
rowIndex | int | Row whose writing system is used (and whose default value /// is used when necessary). |
return | void |
protected OnRowHeightChanged ( object sender, System.Windows.Forms.DataGridViewRowEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Forms.DataGridViewRowEventArgs | |
return | void |
public SetCellStyleAlignment ( int ws, System.Windows.Forms.DataGridViewCellStyle style ) : void | ||
ws | int | |
style | System.Windows.Forms.DataGridViewCellStyle | |
return | void |
protected FdoCache,SIL.FieldWorks.FDO m_cache | ||
return | SIL.FieldWorks.FDO.FdoCache |
protected FwTextBoxControl,SIL.FieldWorks.Common.Widgets m_textBoxControl | ||
return | SIL.FieldWorks.Common.Widgets.FwTextBoxControl |