C# Class HighlightModel.ExtensibleHighlightableElementProxy

Inheritance: IExtensibleHighlightableElement
Mostrar archivo Open project: Invenietis/ck-certified

Public Methods

Method Description
BeginHighlight ( BeginScrollingInfo beginScrollingInfo, ScrollingDirective scrollingDirective ) : ScrollingDirective
EndHighlight ( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective ) : ScrollingDirective
ExtensibleHighlightableElementProxy ( string name, IHighlightableElement element, bool highlightPrePostChildren = false ) : System
RegisterElementAt ( ChildPosition position, IHighlightableElement child ) : bool

Adds an element at the beginning or the end of the child list. An element can be added only once for a given position.

For ChildPosition.Pre, the element is added to the position 0 of the list, for ChildPosition.Post is added at the end

SelectElement ( ScrollingDirective scrollingDirective ) : ScrollingDirective
UnregisterElement ( ChildPosition positionToRemove, IHighlightableElement element ) : bool

Method Details

BeginHighlight() public method

public BeginHighlight ( BeginScrollingInfo beginScrollingInfo, ScrollingDirective scrollingDirective ) : ScrollingDirective
beginScrollingInfo BeginScrollingInfo
scrollingDirective ScrollingDirective
return ScrollingDirective

EndHighlight() public method

public EndHighlight ( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective ) : ScrollingDirective
endScrollingInfo EndScrollingInfo
scrollingDirective ScrollingDirective
return ScrollingDirective

ExtensibleHighlightableElementProxy() public method

public ExtensibleHighlightableElementProxy ( string name, IHighlightableElement element, bool highlightPrePostChildren = false ) : System
name string
element IHighlightableElement
highlightPrePostChildren bool
return System

RegisterElementAt() public method

Adds an element at the beginning or the end of the child list. An element can be added only once for a given position.
For ChildPosition.Pre, the element is added to the position 0 of the list, for ChildPosition.Post is added at the end
public RegisterElementAt ( ChildPosition position, IHighlightableElement child ) : bool
position ChildPosition
child IHighlightableElement
return bool

SelectElement() public method

public SelectElement ( ScrollingDirective scrollingDirective ) : ScrollingDirective
scrollingDirective ScrollingDirective
return ScrollingDirective

UnregisterElement() public method

public UnregisterElement ( ChildPosition positionToRemove, IHighlightableElement element ) : bool
positionToRemove ChildPosition
element IHighlightableElement
return bool