C# Class SIL.FieldWorks.Common.Widgets.TextBoxVc

Inheritance: SIL.FieldWorks.Common.RootSites.FwBaseVc
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
TextBoxVc System

Public Methods

Method Description
Display ( IVwEnv vwenv, int hvo, int frag ) : void

The main method just displays the text with the appropriate properties.

RGB ( Color c ) : uint

Convert a .NET color to the type understood by Views code and other Win32 stuff.

RGB ( int r, int g, int b ) : uint

Make a standard Win32 color from three components.

UpdateRootBoxTextProps ( ITsTextProps ttp ) : ITsTextProps
setWsfAndWs ( ILgWritingSystemFactory wsf, int ws ) : void

Sets the writing system factory and the writing system hvo.

Private Methods

Method Description
TextBoxVc ( InnerFwTextBox innerTextBox ) : System

Construct one. Must be part of an InnerFwTextBox.

Method Details

Display() public method

The main method just displays the text with the appropriate properties.
public Display ( IVwEnv vwenv, int hvo, int frag ) : void
vwenv IVwEnv
hvo int
frag int
return void

RGB() static public method

Convert a .NET color to the type understood by Views code and other Win32 stuff.
static public RGB ( Color c ) : uint
c Color
return uint

RGB() static public method

Make a standard Win32 color from three components.
static public RGB ( int r, int g, int b ) : uint
r int
g int
b int
return uint

UpdateRootBoxTextProps() public method

public UpdateRootBoxTextProps ( ITsTextProps ttp ) : ITsTextProps
ttp ITsTextProps
return ITsTextProps

setWsfAndWs() public method

Sets the writing system factory and the writing system hvo.
public setWsfAndWs ( ILgWritingSystemFactory wsf, int ws ) : void
wsf ILgWritingSystemFactory The WSF.
ws int The ws.
return void