C# Class SIL.FieldWorks.SharpViews.LayoutCallbacks

This class handles some callbacks which a view may need to make during layout and similar operations, including expanding a lazy box. It stands as a proxy for the root site, and forwards all the messages to it when disposed. During its lifetime, the root box cannot be painted; an attempt to do so will add to the rectangles to be invalidated when the LCB is disposed.
Inheritance: IDisposable
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Свойство Type Description
RectsInvalidated List
RectsInvalidatedInRoot List

Méthodes publiques

Méthode Description
Dispose ( ) : void
Invalidate ( Rectangle rect ) : void

On Dispose, call invalidate on the root's site.

InvalidateInRoot ( Rectangle rect ) : void

On Dispose, call invalidateInRoot on the root's site.

LayoutCallbacks ( RootBox root ) : System

Private Methods

Méthode Description
RaiseLazyExpanded ( int top, int bottom, int delta ) : void

On Dispose, raise the SizeChanged event on the root box.

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Invalidate() public méthode

On Dispose, call invalidate on the root's site.
public Invalidate ( Rectangle rect ) : void
rect System.Drawing.Rectangle
Résultat void

InvalidateInRoot() public méthode

On Dispose, call invalidateInRoot on the root's site.
public InvalidateInRoot ( Rectangle rect ) : void
rect System.Drawing.Rectangle
Résultat void

LayoutCallbacks() public méthode

public LayoutCallbacks ( RootBox root ) : System
root RootBox
Résultat System

Property Details

RectsInvalidated public_oe property

public List RectsInvalidated
Résultat List

RectsInvalidatedInRoot public_oe property

public List RectsInvalidatedInRoot
Résultat List