CarouselView 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
其可滚动子视图“对齐”到位的 ItemsView。
[Xamarin.Forms.RenderWith(typeof(Xamarin.Forms.Platform._CarouselViewRenderer))]
public class CarouselView : Xamarin.Forms.ItemsView
type CarouselView = class
inherit ItemsView
- 继承
- 属性
构造函数
| CarouselView() |
其可滚动子视图“对齐”到位的 ItemsView。 |
字段
| CurrentItemChangedCommandParameterProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| CurrentItemChangedCommandProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| CurrentItemProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| CurrentItemVisualState |
其可滚动子视图“对齐”到位的 ItemsView。 |
| DefaultItemVisualState |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsBounceEnabledProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsDraggingProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsScrollAnimatedProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsSwipeEnabledProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| ItemsLayoutProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| LoopProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| NextItemVisualState |
其可滚动子视图“对齐”到位的 ItemsView。 |
| PeekAreaInsetsProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| PositionChangedCommandParameterProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| PositionChangedCommandProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| PositionProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
| PreviousItemVisualState |
其可滚动子视图“对齐”到位的 ItemsView。 |
| VisibleViewsProperty |
其可滚动子视图“对齐”到位的 ItemsView。 |
属性
| AnchorX |
获取或设置任何转换的中心点的 X 部分,相对于元素的边界。 这是一种可绑定属性。 (继承自 VisualElement) |
| AnchorY |
获取或设置任何转换的中心点的 Y 部分,相对于元素的边界。 这是一种可绑定属性。 (继承自 VisualElement) |
| AnimateCurrentItemChanges |
其可滚动子视图“对齐”到位的 ItemsView。 |
| AnimatePositionChanges |
其可滚动子视图“对齐”到位的 ItemsView。 |
| AutomationId |
获取或设置允许自动化框架查找此元素并与其交互的值。 (继承自 Element) |
| Background |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 VisualElement) |
| BackgroundColor |
获取或设置将填充 VisualElement 背景的颜色。 这是一种可绑定属性。 (继承自 VisualElement) |
| Batched |
供 Xamarin.Forms 平台内部使用。 (继承自 VisualElement) |
| Behaviors |
获取与此元素关联的 Behavior 列表。 这是一种可绑定属性。 (继承自 VisualElement) |
| BindingContext |
获取或设置对象,该对象包含将被属于此 BindableObject 的绑定属性设定为目标的属性。 (继承自 BindableObject) |
| Bounds |
获取元素的边界。 (继承自 VisualElement) |
| class |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 NavigableElement) |
| ClassId |
获取或设置用于标识语义相似元素集合的值。 (继承自 Element) |
| Clip |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 VisualElement) |
| CurrentItem |
其可滚动子视图“对齐”到位的 ItemsView。 |
| CurrentItemChangedCommand |
其可滚动子视图“对齐”到位的 ItemsView。 |
| CurrentItemChangedCommandParameter |
其可滚动子视图“对齐”到位的 ItemsView。 |
| DisableLayout |
供 Xamarin.Forms 平台内部使用。 (继承自 VisualElement) |
| Dispatcher |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 BindableObject) |
| EffectControlProvider |
供 Xamarin.Forms 平台内部使用。 (继承自 Element) |
| Effects |
应用于此项的效果列表。 (继承自 Element) |
| EmptyView |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| EmptyViewTemplate |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| FlowDirection |
获取或设置布局流方向。 (继承自 VisualElement) |
| GestureController |
获取视图的手势控制器。 (继承自 View) |
| GestureRecognizers |
与此视图关联的手势识别器的集合。 (继承自 View) |
| Height |
获取此元素的当前呈现高度。 这是一种只读可绑定属性。 (继承自 VisualElement) |
| HeightRequest |
获取或设置此元素的所需高度替代。 (继承自 VisualElement) |
| HorizontalOptions |
获取或设置 LayoutOptions,它定义元素在布局周期中的布局方式。 这是一种可绑定属性。 (继承自 View) |
| HorizontalScrollBarVisibility |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| Id |
获取可用于通过运行应用程序唯一地标识元素的值。 (继承自 Element) |
| IndicatorView |
其可滚动子视图“对齐”到位的 ItemsView。 |
| InputTransparent |
获取或设置一个值,该值指示此元素是否应涉及用户交互周期。 这是一种可绑定属性。 (继承自 VisualElement) |
| InternalItemsLayout |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| IsBounceEnabled |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsDragging |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsEnabled |
获取或设置一个值,该值指示是否在用户界面中启用此元素。 这是一种可绑定属性。 (继承自 VisualElement) |
| IsFocused |
获取一个值,该值指示当前是否聚焦此元素。 这是一种可绑定属性。 (继承自 VisualElement) |
| IsInNativeLayout |
供 Xamarin.Forms 平台内部使用。 (继承自 VisualElement) |
| IsNativeStateConsistent |
供 Xamarin.Forms 平台内部使用。 (继承自 VisualElement) |
| IsPlatformEnabled |
供 Xamarin.Forms 平台内部使用。 (继承自 VisualElement) |
| IsScrollAnimated |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsScrolling |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsSwipeEnabled |
其可滚动子视图“对齐”到位的 ItemsView。 |
| IsTabStop |
获取或设置指明此元素是否包含在选项卡导航中的值。 这是一种可绑定属性。 (继承自 VisualElement) |
| IsVisible |
获取或设置一个值,该值确定此元素是否应属于可视化树的一部分。 这是一种可绑定属性。 (继承自 VisualElement) |
| ItemsLayout |
其可滚动子视图“对齐”到位的 ItemsView。 |
| ItemsSource |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| ItemsUpdatingScrollMode |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| ItemTemplate |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| LogicalChildren |
供 Xamarin.Forms 平台内部使用。 (继承自 Element) |
| Loop |
其可滚动子视图“对齐”到位的 ItemsView。 |
| Margin |
获取或设置视图的边距。 (继承自 View) |
| MinimumHeightRequest |
获取或设置一个值,该值将替代元素在布局期间请求的最小高度。 (继承自 VisualElement) |
| MinimumWidthRequest |
获取或设置一个值,该值将替代元素在布局期间请求的最小宽度。 (继承自 VisualElement) |
| Navigation |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 NavigableElement) |
| NavigationProxy |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 NavigableElement) |
| Opacity |
获取或设置呈现元素时应用于元素的不透明度值。 这是一种可绑定属性。 (继承自 VisualElement) |
| Parent |
获取或设置元素的父元素。 (继承自 Element) |
| ParentView |
已过时.
获取作为 VisualElement 的此元素的最近的上级元素。 (继承自 Element) |
| PeekAreaInsets |
其可滚动子视图“对齐”到位的 ItemsView。 |
| Platform |
已过时.
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 Element) |
| Position |
其可滚动子视图“对齐”到位的 ItemsView。 |
| PositionChangedCommand |
其可滚动子视图“对齐”到位的 ItemsView。 |
| PositionChangedCommandParameter |
其可滚动子视图“对齐”到位的 ItemsView。 |
| RealParent |
供 Xamarin.Forms 平台内部使用。 (继承自 Element) |
| RemainingItemsThreshold |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| RemainingItemsThresholdReachedCommand |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| RemainingItemsThresholdReachedCommandParameter |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| Resources |
获取或设置本地资源字典。 (继承自 VisualElement) |
| Rotation |
获取或设置呈现元素时围绕 Z 轴(仿射旋转)的旋转角度(以度为单位)。 (继承自 VisualElement) |
| RotationX |
获取或设置呈现元素时围绕 X 轴(透视旋转)的旋转角度(以度为单位)。 (继承自 VisualElement) |
| RotationY |
获取或设置呈现元素时围绕 Y 轴(透视旋转)的旋转角度(以度为单位)。 (继承自 VisualElement) |
| Scale |
获取或设置应用于元素的比例因子。 (继承自 VisualElement) |
| ScaleX |
获取或设置要应用于 X 方向的缩放值。 (继承自 VisualElement) |
| ScaleY |
获取或设置要应用于 Y 方向的缩放值。 (继承自 VisualElement) |
| Style |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 NavigableElement) |
| StyleClass |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 NavigableElement) |
| StyleId |
获取或设置用于唯一地标识元素的用户定义的值。 (继承自 Element) |
| TabIndex |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 VisualElement) |
| TranslationX |
获取或设置元素的 X 转换增量。 (继承自 VisualElement) |
| TranslationY |
获取或设置元素的 Y 转换增量。 (继承自 VisualElement) |
| Triggers |
获取与此元素关联的 Trigger 列表。 这是一种可绑定属性。 (继承自 VisualElement) |
| VerticalOptions |
获取或设置 LayoutOptions,它定义元素在布局周期中的布局方式。 这是一种可绑定属性。 (继承自 View) |
| VerticalScrollBarVisibility |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 ItemsView) |
| VisibleViews |
其可滚动子视图“对齐”到位的 ItemsView。 |
| Visual |
其可滚动子视图“对齐”到位的 ItemsView。 (继承自 VisualElement) |
| Width |
获取此元素的当前呈现宽度。 这是一种只读可绑定属性。 (继承自 VisualElement) |
| WidthRequest |
获取或设置此元素的所需宽度替代。 (继承自 VisualElement) |
| X |
获取此元素的当前 X 位置。 这是一种只读可绑定属性。 (继承自 VisualElement) |
| Y |
获取此元素的当前 Y 位置。 这是一种只读可绑定属性。 (继承自 VisualElement) |
方法
事件
显式接口实现
| IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) |
供 Xamarin.Forms 平台内部使用。 (继承自 BindableObject) |
| IElementController.SetValueFromRenderer(BindableProperty, Object) |
供 Xamarin.Forms 平台内部使用。 (继承自 Element) |
| IGestureController.CompositeGestureRecognizers |
供 Xamarin.Forms 平台内部使用。 (继承自 View) |
| INameScope.RegisterName(String, Object) |
仅限内部使用。 (继承自 Element) |
| IVisualElementController.EffectiveFlowDirection |
获取平台上元素的有效可视流方向,考虑区域设置和逻辑流设置。 (继承自 VisualElement) |
| IVisualElementController.InvalidateMeasure(InvalidationTrigger) |
此方法仅供内部使用。 (继承自 VisualElement) |