C# Class SIL.FieldWorks.Discourse.DialogInterlinRibbon

Used to display interlinear text from a ConstChartWordGroup in a dialog.
Inheritance: InterlinRibbon
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
DialogInterlinRibbon ( SIL.FieldWorks.FDO.FdoCache cache ) : System
MakeInitialSelection ( ) : void

Protected Methods

Method Description
HandleSelectionChange ( object sender, SIL.FieldWorks.Common.RootSites.VwSelectionArgs args ) : void

This override ensures that we always have whole objects selected. Enhance: it may cause flicker during drag, in which case, we may change to only do it on mouse up, or only IF the mouse is up.

Private Methods

Method Description
SelectRange ( int begin1, int end1 ) : void
SelectUpToEnd ( ) : void

Method Details

DialogInterlinRibbon() public method

public DialogInterlinRibbon ( SIL.FieldWorks.FDO.FdoCache cache ) : System
cache SIL.FieldWorks.FDO.FdoCache
return System

HandleSelectionChange() protected method

This override ensures that we always have whole objects selected. Enhance: it may cause flicker during drag, in which case, we may change to only do it on mouse up, or only IF the mouse is up.
protected HandleSelectionChange ( object sender, SIL.FieldWorks.Common.RootSites.VwSelectionArgs args ) : void
sender object
args SIL.FieldWorks.Common.RootSites.VwSelectionArgs
return void

MakeInitialSelection() public method

public MakeInitialSelection ( ) : void
return void