C# (CSharp) SIL.FieldWorks.Common.Widgets FwListBox - 14 exemples trouvés. Ce sont les exemples réels les mieux notés de SIL.FieldWorks.Common.Widgets.FwListBox extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Associées
Related in langs
FwListBox is a simulation of a regular Windows.Forms.ListBox. It has much the same interface, though not all events and properties are yet supported. There are two main differences: (1) It is implemented using FieldWorks Views, and hence can render Graphite fonts properly. (2) Item labels can be TsStrings, in which case, formatting of items can vary based on the properties of string runs. To get this behavior, you can (a) Let the items actually be ITsStrings. (b) Let the items implement the SIL.FieldWorks.FDO.ITssValue interface, which has just one property, public ITsString AsTss {get;} You must also pass your writing system factory to the FwListBox (set the WritingSystemFactory property). Otherwise, the combo box will not be able to interpret the writing systems of any TsStrings it is asked to display. It will improve performance to do this even if you are not using TsString data.