Property | Type | Description | |
---|---|---|---|
AnimationTimeSpanProperty | |||
LineScrollPixelCountProperty | |||
RightOverflowMarginProperty |
Method | Description | |
---|---|---|
IsPartlyVisible ( UIElement uieChild ) : bool |
Determines whether the passed child control is only partially visible (i.e. whether part of it is outside of the Viewport).
|
|
LineDown ( ) : void |
Increments the vertical offset. This is unsupported. |
|
LineLeft ( ) : void |
Decrements the horizontal offset by the amount specified in the LineScrollPixelCount property.
|
|
LineRight ( ) : void |
Increments the horizontal offset by the amount specified in the LineScrollPixelCount property.
|
|
LineUp ( ) : void |
Decrements the vertical offset. This is unsupported. |
|
MakeVisible ( System visual, System rectangle ) : |
Scrolls a child of the panel (Visual) into view.
|
|
MouseWheelDown ( ) : void | ||
MouseWheelLeft ( ) : void | ||
MouseWheelRight ( ) : void | ||
MouseWheelUp ( ) : void | ||
PageDown ( ) : void | ||
PageLeft ( ) : void | ||
PageRight ( ) : void | ||
PageUp ( ) : void | ||
PartlyVisiblePortion_OverflowToLeft ( UIElement uieChild ) : double |
Determines the visible part of the passed child control, measured between 0 (completely invisible) and 1 (completely visible), that is overflowing into the left invisible portion of the panel.
|
|
PartlyVisiblePortion_OverflowToRight ( UIElement uieChild ) : double |
Determines the visible part of the passed child control, measured between 0 (completely invisible) and 1 (completely visible), that is overflowing into the right invisible portion of the panel.
|
|
ScrollableTabPanel ( ) : System | ||
SetHorizontalOffset ( double offset ) : void | ||
SetVerticalOffset ( double offset ) : void |
Method | Description | |
---|---|---|
ArrangeOverride ( |
This is the 2nd pass of the layout process, where child controls are being arranged within the panel.
|
|
MeasureOverride ( |
This is the 1st pass of the layout process. Here, the Extent's size is being determined.
|
|
OnChildDesiredSizeChanged ( UIElement child ) : void | ||
OnVisualChildrenChanged ( |
Method | Description | |
---|---|---|
CalculateNewScrollOffset ( double dblViewport_Left, double dblViewport_Right, double dblChild_Left, double dblChild_Right ) : double |
Calculates the HorizontalOffset for a given child-control, based on a desired value.
|
|
GetChildRectangle ( UIElement uieChild ) : |
Returns the rectangle that defines the outer bounds of a child control.
|
|
GetIntersectionRectangle ( UIElement uieChild ) : |
Returns a Rectangle that contains the intersection between the ScrollViewer's and the passed child control's boundaries, that is, the portion of the child control which is currently visibile within the ScrollViewer's Viewport.
|
|
GetScrollViewerRectangle ( ) : |
Returns the currently rendered rectangle that makes up the Viewport.
|
|
NotifyPropertyChanged ( String strPropertyName ) : void |
Called from within this class whenever subscribers (i.e. bindings) are to be notified of a property-change
|
|
RemoveOpacityMask ( UIElement uieChild ) : void |
Will remove the OpacityMask for all child controls.
|
|
RemoveOpacityMasks ( ) : void |
Will remove the OpacityMask for all child controls.
|
|
ScrollOwner_Loaded ( object sender, |
Fired when the ScrollViewer is initially loaded/displayed. Required in order to initially setup the childrens' OpacityMasks.
|
|
ScrollableTabPanel_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void | ||
UpdateMembers ( |
Compares the present sizes (Extent/Viewport) against the local values and updates them, if required.
|
|
UpdateOpacityMask ( UIElement uieChild ) : void |
Takes the given child control and checks as to whether the control is completely visible (in the Viewport). If not (i.e. if it's only partially visible), an OpacityMask will be applied so that it fades out into nothingness.
|
|
UpdateOpacityMasks ( ) : void |
Will check all child controls and set their OpacityMasks.
|
|
daScrollAnimation_Completed ( object sender, |
Fired when the scroll-animation has finished its work, that is, at the point in time when the ScrollViewerer has reached its final scroll-position resp. offset, which is when the childrens' OpacityMasks can be updated.
|
|
getLeftEdge ( UIElement uieChild ) : double |
Returns the left position of the requested child (in Viewport-coordinates).
|
protected ArrangeOverride ( |
||
finalSize | The Viewport's rectangle, as obtained after the 1st pass (MeasureOverride). | |
return |
public IsPartlyVisible ( UIElement uieChild ) : bool | ||
uieChild | UIElement | The child control to be tested. |
return | bool |
public MakeVisible ( System visual, System rectangle ) : |
||
visual | System | |
rectangle | System | |
return |
protected MeasureOverride ( |
||
availableSize | The Viewport's rectangle, as obtained after the 1st pass (MeasureOverride). | |
return |
protected OnChildDesiredSizeChanged ( UIElement child ) : void | ||
child | UIElement | |
return | void |
protected OnVisualChildrenChanged ( |
||
visualAdded | ||
visualRemoved | ||
return | void |
public PartlyVisiblePortion_OverflowToLeft ( UIElement uieChild ) : double | ||
uieChild | UIElement | The child control to be tested. |
return | double |
public PartlyVisiblePortion_OverflowToRight ( UIElement uieChild ) : double | ||
uieChild | UIElement | The child control to be tested. |
return | double |
public SetHorizontalOffset ( double offset ) : void | ||
offset | double | |
return | void |
public SetVerticalOffset ( double offset ) : void | ||
offset | double | |
return | void |
public static DependencyProperty,System.Windows AnimationTimeSpanProperty | ||
return |
public static DependencyProperty,System.Windows LineScrollPixelCountProperty | ||
return |