[]
List of items which can be used with heavy templates and preview template to scroll quickly.
[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(C1ListViewerItem))]
[TemplatePart(Name = "ScrollViewer", Type = typeof(ScrollViewer))]
public class C1ListViewer : C1ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, INotifyPropertyChanged
Name | Description |
---|---|
C1ListViewer() | Initializes a new instance of a C1ListViewer. |
Name | Description |
---|---|
ButtonBackgroundProperty | Identifies the ButtonBackground dependency property. |
ButtonForegroundProperty | Identifies the ButtonForeground dependency property. |
CornerRadiusProperty | Identifies the CornerRadius dependency property. |
HorizontalScrollBarVisibilityProperty | Identifies the HorizontalScrollBarVisibility dependency property. |
IsSwipeEnabledProperty | Identifies the IsSwipeEnabled dependency property. |
ItemHeightProperty | Identifies the ItemHeight dependency property. |
ItemWidthProperty | Identifies the ItemWidth dependency property. |
MaxZoomProperty | Identifies the MaxZoom dependency property. |
MinZoomProperty | Identifies the MinZoom dependency property. |
MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
OrientationProperty | Identifies the Orientation dependency property. |
PressedBrushProperty | Identifies the PressedBrush dependency property. |
PreviewItemTemplateProperty | Identifies the PreviewItemTemplate dependency property. |
RefreshWhileScrollingProperty | Identifies the RefreshWhileScrolling dependency property. |
VerticalScrollBarVisibilityProperty | Identifies the VerticalScrollBarVisibility dependency property. |
ViewportGapProperty | Identifies the ViewportGap dependency property. |
ViewportPreviewGapProperty | Identifies the ViewportPreviewGap dependency property. |
ZoomModeProperty | Identifies the ZoomMode dependency property. |
ZoomProperty | Identifies the Zoom dependency property. |
Name | Description |
---|---|
ActualMaxZoom | Gets the actual maximum zoom. |
ActualMinZoom | Gets the actual minimum zoom. |
ActualZoom | Gets the actual zoom. |
ButtonBackground | Gets or sets the Brush that will be assigned to the Background of the buttons inside the control. |
ButtonForeground | Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control. |
CornerRadius | Gets or sets a value that represents the degree to which the corners of the element are rounded. |
HorizontalScrollBarVisibility | Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed. |
IsScrolling | Gets a value indicating whether the list is scrolling. |
IsSwipeEnabled | Gets or sets a value that indicates whether the view supports discrete input processing for a swipe interaction. |
IsZooming | Gets a value indicating whether this list is zooming. |
ItemHeight | Gets or sets the height of each item. |
ItemWidth | Gets or sets the width of each item. |
MaxZoom | Gets or sets the maximum zoom available. |
MinZoom | Gets or sets the minimum zoom available. |
MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
Orientation | Gets or sets the orientation in which the list is displayed. |
Panel | Gets the panel associated with this items control. |
PressedBrush | Gets or sets the Brush used to paint a button when it is pressed. |
PreviewItemTemplate | Gets or sets the template used for previewing an item. |
RefreshWhileScrolling | Gets or sets a value indicating whether the viewport must be refreshed while the scroll is running. |
ScrollViewer | Gets the scroll viewer template part belonging to this items control. |
VerticalScrollBarVisibility | Gets or sets a value that indicates whether a vertical ScrollBar should be displayed. |
ViewportGap | Gets or sets a coeficient which will determine in each layout pass the size of the viewport. If zero is specified the size of the viewport will be equal to the scrollviewer viewport. If 0.5 is specified the size of the viewport will be enlarged to take up half screen more at both sides of the original viewport. |
ViewportPreviewGap | Gets or sets a coeficient which will determine in each layout pass the size of the viewport to render items in preview mode. |
Zoom | Gets or set the zoom applied to this list. |
ZoomMode | Gets or sets whether the zoom is enabled or disabled. |
Name | Description |
---|---|
BringIndexIntoView(int, Rect?, bool, Action) | Brings the specified index into view. |
BringIntoView(Rect, bool, Action) | Brings the into view the specified rectangle area. |
ClearContainerForItemOverride(DependencyObject, object) | Undoes the effects of the PrepareContainerForItemOverride(DependencyObject, object) method. |
GetContainerForItemOverride() | Creates or identifies the element that is used to display the given item. |
GetIndexAt(Point) | Gets the index of the item at the specified position in the screen. |
InitializePanel() | Initializes the panel the first time it is loaded. |
InitializeScrollViewerPart() | Initializes the scroll viewer part. |
IsItemItsOwnContainerOverride(object) | Determines if the specified item is (or is eligible to be) its own container. |
OnApplyTemplate() | Builds the visual tree for the C1ListViewer control when a new template is applied. |
OnItemHolding(object, C1TappedEventArgs) | Called when one of the items receive the Hold event. |
OnItemTapped(object, C1TappedEventArgs) | Called when one of the items is tapped. |
PrepareContainerForItemOverride(DependencyObject, object) | Prepares the specified element to display the specified item. |
RaisePropertyChanged(string) | Raises the property changed event. |
ScrollToHorizontalOffset(double) | Scrolls the content to the specified horizontal offset position. |
ScrollToVerticalOffset(double) | Scrolls the content to the specified vertical offset position. |
ZoomAnimation(double, Point, Action) | Call a zooms animation. |
Name | Description |
---|---|
HorizontalOffsetChanged | Occurs when horizontal offset changed. |
ItemClick | Occurs when an item is clicked. |
ItemContainerLoaded | Occurs afer an item container was loaded. |
ItemContainerUnloading | Occurs before an item container was unloaded. |
ItemHolding | Occurs when an item held. |
ItemTapped | Occurs when an item is tapped. |
PropertyChanged | Occurs when a property value changes. |
VerticalOffsetChanged | Occurs when the vertical offset changed. |
ZoomChanged | Occurs when the zoom changed. |