GridView Class

Definition

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GridView : ListViewBase
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class GridView : ListViewBase
Public Class GridView
Inherits ListViewBase
Inheritance
Attributes

Constructors

Name Description
GridView()

Properties

Name Description
AccessKey (Inherited from UIElement)
AccessKeyScopeOwner (Inherited from UIElement)
ActualHeight (Inherited from FrameworkElement)
ActualOffset (Inherited from UIElement)
ActualSize (Inherited from UIElement)
ActualTheme (Inherited from FrameworkElement)
ActualWidth (Inherited from FrameworkElement)
AllowDrop (Inherited from UIElement)
AllowFocusOnInteraction (Inherited from FrameworkElement)
AllowFocusWhenDisabled (Inherited from FrameworkElement)
Background (Inherited from Control)
BackgroundSizing (Inherited from Control)
BaseUri (Inherited from FrameworkElement)
BorderBrush (Inherited from Control)
BorderThickness (Inherited from Control)
CacheMode (Inherited from UIElement)
CanBeScrollAnchor (Inherited from UIElement)
CanDrag (Inherited from UIElement)
CanDragItems (Inherited from ListViewBase)
CanReorderItems (Inherited from ListViewBase)
CenterPoint (Inherited from UIElement)
CharacterSpacing (Inherited from Control)
Clip (Inherited from UIElement)
CompositeMode (Inherited from UIElement)
ContextFlyout (Inherited from UIElement)
CornerRadius (Inherited from Control)
DataContext (Inherited from FrameworkElement)
DataFetchSize (Inherited from ListViewBase)
DefaultStyleKey (Inherited from Control)
DefaultStyleResourceUri (Inherited from Control)
DesiredSize (Inherited from UIElement)
Dispatcher (Inherited from DependencyObject)
DispatcherQueue (Inherited from DependencyObject)
DisplayMemberPath (Inherited from ItemsControl)
ElementSoundMode (Inherited from Control)
ExitDisplayModeOnAccessKeyInvoked (Inherited from UIElement)
FlowDirection (Inherited from FrameworkElement)
FocusState (Inherited from UIElement)
FocusVisualMargin (Inherited from FrameworkElement)
FocusVisualPrimaryBrush (Inherited from FrameworkElement)
FocusVisualPrimaryThickness (Inherited from FrameworkElement)
FocusVisualSecondaryBrush (Inherited from FrameworkElement)
FocusVisualSecondaryThickness (Inherited from FrameworkElement)
FontFamily (Inherited from Control)
FontSize (Inherited from Control)
FontStretch (Inherited from Control)
FontStyle (Inherited from Control)
FontWeight (Inherited from Control)
Footer (Inherited from ListViewBase)
FooterTemplate (Inherited from ListViewBase)
FooterTransitions (Inherited from ListViewBase)
Foreground (Inherited from Control)
GroupStyle (Inherited from ItemsControl)
GroupStyleSelector (Inherited from ItemsControl)
Header (Inherited from ListViewBase)
HeaderTemplate (Inherited from ListViewBase)
HeaderTransitions (Inherited from ListViewBase)
Height (Inherited from FrameworkElement)
HighContrastAdjustment (Inherited from UIElement)
HorizontalAlignment (Inherited from FrameworkElement)
HorizontalContentAlignment (Inherited from Control)
IncrementalLoadingThreshold (Inherited from ListViewBase)
IncrementalLoadingTrigger (Inherited from ListViewBase)
IsAccessKeyScope (Inherited from UIElement)
IsActiveView (Inherited from ListViewBase)
IsDoubleTapEnabled (Inherited from UIElement)
IsEnabled (Inherited from Control)
IsFocusEngaged (Inherited from Control)
IsFocusEngagementEnabled (Inherited from Control)
IsGrouping (Inherited from ItemsControl)
IsHitTestVisible (Inherited from UIElement)
IsHoldingEnabled (Inherited from UIElement)
IsItemClickEnabled (Inherited from ListViewBase)
IsLoaded (Inherited from FrameworkElement)
IsMultiSelectCheckBoxEnabled (Inherited from ListViewBase)
IsRightTapEnabled (Inherited from UIElement)
IsSwipeEnabled (Inherited from ListViewBase)
IsSynchronizedWithCurrentItem (Inherited from Selector)
IsTabStop (Inherited from UIElement)
IsTapEnabled (Inherited from UIElement)
IsTextScaleFactorEnabled (Inherited from Control)
IsZoomedInView (Inherited from ListViewBase)
ItemContainerGenerator (Inherited from ItemsControl)
ItemContainerStyle (Inherited from ItemsControl)
ItemContainerStyleSelector (Inherited from ItemsControl)
ItemContainerTransitions (Inherited from ItemsControl)
Items (Inherited from ItemsControl)
ItemsPanel (Inherited from ItemsControl)
ItemsPanelRoot (Inherited from ItemsControl)
ItemsSource (Inherited from ItemsControl)
ItemTemplate (Inherited from ItemsControl)
ItemTemplateSelector (Inherited from ItemsControl)
KeyboardAcceleratorPlacementMode (Inherited from UIElement)
KeyboardAcceleratorPlacementTarget (Inherited from UIElement)
KeyboardAccelerators (Inherited from UIElement)
KeyTipHorizontalOffset (Inherited from UIElement)
KeyTipPlacementMode (Inherited from UIElement)
KeyTipTarget (Inherited from UIElement)
KeyTipVerticalOffset (Inherited from UIElement)
Language (Inherited from FrameworkElement)
Lights (Inherited from UIElement)
ManipulationMode (Inherited from UIElement)
Margin (Inherited from FrameworkElement)
MaxHeight (Inherited from FrameworkElement)
MaxWidth (Inherited from FrameworkElement)
MinHeight (Inherited from FrameworkElement)
MinWidth (Inherited from FrameworkElement)
Name (Inherited from FrameworkElement)
Opacity (Inherited from UIElement)
OpacityTransition (Inherited from UIElement)
Padding (Inherited from Control)
Parent (Inherited from FrameworkElement)
PointerCaptures (Inherited from UIElement)
Projection (Inherited from UIElement)
ProtectedCursor (Inherited from UIElement)
RasterizationScale (Inherited from UIElement)
RenderSize (Inherited from UIElement)
RenderTransform (Inherited from UIElement)
RenderTransformOrigin (Inherited from UIElement)
ReorderMode (Inherited from ListViewBase)
RequestedTheme (Inherited from FrameworkElement)
RequiresPointer (Inherited from Control)
Resources (Inherited from FrameworkElement)
Rotation (Inherited from UIElement)
RotationAxis (Inherited from UIElement)
RotationTransition (Inherited from UIElement)
Scale (Inherited from UIElement)
ScaleTransition (Inherited from UIElement)
SelectedIndex (Inherited from Selector)
SelectedItem (Inherited from Selector)
SelectedItems (Inherited from ListViewBase)
SelectedRanges (Inherited from ListViewBase)
SelectedValue (Inherited from Selector)
SelectedValuePath (Inherited from Selector)
SelectionMode (Inherited from ListViewBase)
SemanticZoomOwner (Inherited from ListViewBase)
Shadow (Inherited from UIElement)
ShowsScrollingPlaceholders (Inherited from ListViewBase)
SingleSelectionFollowsFocus (Inherited from ListViewBase)
Style (Inherited from FrameworkElement)
TabFocusNavigation (Inherited from UIElement)
TabIndex (Inherited from UIElement)
TabNavigation (Inherited from Control)
Tag (Inherited from FrameworkElement)
Template (Inherited from Control)
Transform3D (Inherited from UIElement)
TransformMatrix (Inherited from UIElement)
Transitions (Inherited from UIElement)
Translation (Inherited from UIElement)
TranslationTransition (Inherited from UIElement)
Triggers (Inherited from FrameworkElement)
UseLayoutRounding (Inherited from UIElement)
UseSystemFocusVisuals (Inherited from UIElement)
VerticalAlignment (Inherited from FrameworkElement)
VerticalContentAlignment (Inherited from Control)
Visibility (Inherited from UIElement)
Width (Inherited from FrameworkElement)
XamlRoot (Inherited from UIElement)
XYFocusDown (Inherited from UIElement)
XYFocusDownNavigationStrategy (Inherited from UIElement)
XYFocusKeyboardNavigation (Inherited from UIElement)
XYFocusLeft (Inherited from UIElement)
XYFocusLeftNavigationStrategy (Inherited from UIElement)
XYFocusRight (Inherited from UIElement)
XYFocusRightNavigationStrategy (Inherited from UIElement)
XYFocusUp (Inherited from UIElement)
XYFocusUpNavigationStrategy (Inherited from UIElement)

Methods

Name Description
AddHandler(RoutedEvent, Object, Boolean) (Inherited from UIElement)
ApplyTemplate() (Inherited from Control)
Arrange(Rect) (Inherited from UIElement)
ArrangeOverride(Size) (Inherited from FrameworkElement)
CancelDirectManipulations() (Inherited from UIElement)
CapturePointer(Pointer) (Inherited from UIElement)
ClearContainerForItemOverride(DependencyObject, Object) (Inherited from ItemsControl)
ClearValue(DependencyProperty) (Inherited from DependencyObject)
CompleteViewChange() (Inherited from ListViewBase)
CompleteViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation) (Inherited from ListViewBase)
CompleteViewChangeTo(SemanticZoomLocation, SemanticZoomLocation) (Inherited from ListViewBase)
ContainerFromIndex(Int32) (Inherited from ItemsControl)
ContainerFromItem(Object) (Inherited from ItemsControl)
DeselectRange(ItemIndexRange) (Inherited from ListViewBase)
FindName(String) (Inherited from FrameworkElement)
FindSubElementsForTouchTargeting(Point, Rect) (Inherited from UIElement)
Focus(FocusState) (Inherited from UIElement)
GetAnimationBaseValue(DependencyProperty) (Inherited from DependencyObject)
GetBindingExpression(DependencyProperty) (Inherited from FrameworkElement)
GetChildrenInTabFocusOrder() (Inherited from UIElement)
GetContainerForItemOverride() (Inherited from ItemsControl)
GetTemplateChild(String) (Inherited from Control)
GetValue(DependencyProperty) (Inherited from DependencyObject)
GetVisualInternal() (Inherited from UIElement)
GoToElementStateCore(String, Boolean) (Inherited from FrameworkElement)
GroupHeaderContainerFromItemContainer(DependencyObject) (Inherited from ItemsControl)
IndexFromContainer(DependencyObject) (Inherited from ItemsControl)
InitializeViewChange() (Inherited from ListViewBase)
InvalidateArrange() (Inherited from UIElement)
InvalidateMeasure() (Inherited from UIElement)
InvalidateViewport() (Inherited from FrameworkElement)
IsDragSource() (Inherited from ListViewBase)
IsItemItsOwnContainerOverride(Object) (Inherited from ItemsControl)
ItemFromContainer(DependencyObject) (Inherited from ItemsControl)
LoadMoreItemsAsync() (Inherited from ListViewBase)
MakeVisible(SemanticZoomLocation) (Inherited from ListViewBase)
Measure(Size) (Inherited from UIElement)
MeasureOverride(Size) (Inherited from FrameworkElement)
OnApplyTemplate() (Inherited from FrameworkElement)
OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) (Inherited from UIElement)
OnCharacterReceived(CharacterReceivedRoutedEventArgs) (Inherited from Control)
OnCreateAutomationPeer() (Inherited from UIElement)
OnDisconnectVisualChildren() (Inherited from UIElement)
OnDoubleTapped(DoubleTappedRoutedEventArgs) (Inherited from Control)
OnDragEnter(DragEventArgs) (Inherited from Control)
OnDragLeave(DragEventArgs) (Inherited from Control)
OnDragOver(DragEventArgs) (Inherited from Control)
OnDrop(DragEventArgs) (Inherited from Control)
OnGotFocus(RoutedEventArgs) (Inherited from Control)
OnGroupStyleSelectorChanged(GroupStyleSelector, GroupStyleSelector) (Inherited from ItemsControl)
OnHolding(HoldingRoutedEventArgs) (Inherited from Control)
OnItemContainerStyleChanged(Style, Style) (Inherited from ItemsControl)
OnItemContainerStyleSelectorChanged(StyleSelector, StyleSelector) (Inherited from ItemsControl)
OnItemsChanged(Object) (Inherited from ItemsControl)
OnItemTemplateChanged(DataTemplate, DataTemplate) (Inherited from ItemsControl)
OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) (Inherited from ItemsControl)
OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) (Inherited from UIElement)
OnKeyDown(KeyRoutedEventArgs) (Inherited from Control)
OnKeyUp(KeyRoutedEventArgs) (Inherited from Control)
OnLostFocus(RoutedEventArgs) (Inherited from Control)
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs) (Inherited from Control)
OnManipulationDelta(ManipulationDeltaRoutedEventArgs) (Inherited from Control)
OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs) (Inherited from Control)
OnManipulationStarted(ManipulationStartedRoutedEventArgs) (Inherited from Control)
OnManipulationStarting(ManipulationStartingRoutedEventArgs) (Inherited from Control)
OnPointerCanceled(PointerRoutedEventArgs) (Inherited from Control)
OnPointerCaptureLost(PointerRoutedEventArgs) (Inherited from Control)
OnPointerEntered(PointerRoutedEventArgs) (Inherited from Control)
OnPointerExited(PointerRoutedEventArgs) (Inherited from Control)
OnPointerMoved(PointerRoutedEventArgs) (Inherited from Control)
OnPointerPressed(PointerRoutedEventArgs) (Inherited from Control)
OnPointerReleased(PointerRoutedEventArgs) (Inherited from Control)
OnPointerWheelChanged(PointerRoutedEventArgs) (Inherited from Control)
OnPreviewKeyDown(KeyRoutedEventArgs) (Inherited from Control)
OnPreviewKeyUp(KeyRoutedEventArgs) (Inherited from Control)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) (Inherited from UIElement)
OnRightTapped(RightTappedRoutedEventArgs) (Inherited from Control)
OnTapped(TappedRoutedEventArgs) (Inherited from Control)
PopulatePropertyInfo(String, AnimationPropertyInfo) (Inherited from UIElement)
PopulatePropertyInfoOverride(String, AnimationPropertyInfo) (Inherited from UIElement)
PrepareConnectedAnimation(String, Object, String) (Inherited from ListViewBase)
PrepareContainerForItemOverride(DependencyObject, Object) (Inherited from ItemsControl)
ReadLocalValue(DependencyProperty) (Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) (Inherited from DependencyObject)
ReleasePointerCapture(Pointer) (Inherited from UIElement)
ReleasePointerCaptures() (Inherited from UIElement)
RemoveFocusEngagement() (Inherited from Control)
RemoveHandler(RoutedEvent, Object) (Inherited from UIElement)
ScrollIntoView(Object, ScrollIntoViewAlignment) (Inherited from ListViewBase)
ScrollIntoView(Object) (Inherited from ListViewBase)
SelectAll() (Inherited from ListViewBase)
SelectRange(ItemIndexRange) (Inherited from ListViewBase)
SetBinding(DependencyProperty, BindingBase) (Inherited from FrameworkElement)
SetDesiredContainerUpdateDuration(TimeSpan) (Inherited from ListViewBase)
SetValue(DependencyProperty, Object) (Inherited from DependencyObject)
StartAnimation(ICompositionAnimationBase) (Inherited from UIElement)
StartBringIntoView() (Inherited from UIElement)
StartBringIntoView(BringIntoViewOptions) (Inherited from UIElement)
StartDragAsync(ExpPointerPoint) (Inherited from UIElement)
StartDragAsync(PointerPoint) (Inherited from UIElement)
StartViewChangeFrom(SemanticZoomLocation, SemanticZoomLocation) (Inherited from ListViewBase)
StartViewChangeTo(SemanticZoomLocation, SemanticZoomLocation) (Inherited from ListViewBase)
StopAnimation(ICompositionAnimationBase) (Inherited from UIElement)
TransformToVisual(UIElement) (Inherited from UIElement)
TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs) (Inherited from UIElement)
TryStartConnectedAnimationAsync(ConnectedAnimation, Object, String) (Inherited from ListViewBase)
UnregisterPropertyChangedCallback(DependencyProperty, Int64) (Inherited from DependencyObject)
UpdateLayout() (Inherited from UIElement)

Events

Name Description
AccessKeyDisplayDismissed (Inherited from UIElement)
AccessKeyDisplayRequested (Inherited from UIElement)
AccessKeyInvoked (Inherited from UIElement)
ActualThemeChanged (Inherited from FrameworkElement)
BringIntoViewRequested (Inherited from UIElement)
CharacterReceived (Inherited from UIElement)
ChoosingGroupHeaderContainer (Inherited from ListViewBase)
ChoosingItemContainer (Inherited from ListViewBase)
ContainerContentChanging (Inherited from ListViewBase)
ContextCanceled (Inherited from UIElement)
ContextRequested (Inherited from UIElement)
DataContextChanged (Inherited from FrameworkElement)
DoubleTapped (Inherited from UIElement)
DragEnter (Inherited from UIElement)
DragItemsCompleted (Inherited from ListViewBase)
DragItemsStarting (Inherited from ListViewBase)
DragLeave (Inherited from UIElement)
DragOver (Inherited from UIElement)
DragStarting (Inherited from UIElement)
Drop (Inherited from UIElement)
DropCompleted (Inherited from UIElement)
EffectiveViewportChanged (Inherited from FrameworkElement)
FocusDisengaged (Inherited from Control)
FocusEngaged (Inherited from Control)
GettingFocus (Inherited from UIElement)
GotFocus (Inherited from UIElement)
Holding (Inherited from UIElement)
IsEnabledChanged (Inherited from Control)
ItemClick (Inherited from ListViewBase)
KeyDown (Inherited from UIElement)
KeyUp (Inherited from UIElement)
LayoutUpdated (Inherited from FrameworkElement)
Loaded (Inherited from FrameworkElement)
Loading (Inherited from FrameworkElement)
LosingFocus (Inherited from UIElement)
LostFocus (Inherited from UIElement)
ManipulationCompleted (Inherited from UIElement)
ManipulationDelta (Inherited from UIElement)
ManipulationInertiaStarting (Inherited from UIElement)
ManipulationStarted (Inherited from UIElement)
ManipulationStarting (Inherited from UIElement)
NoFocusCandidateFound (Inherited from UIElement)
PointerCanceled (Inherited from UIElement)
PointerCaptureLost (Inherited from UIElement)
PointerEntered (Inherited from UIElement)
PointerExited (Inherited from UIElement)
PointerMoved (Inherited from UIElement)
PointerPressed (Inherited from UIElement)
PointerReleased (Inherited from UIElement)
PointerWheelChanged (Inherited from UIElement)
PreviewKeyDown (Inherited from UIElement)
PreviewKeyUp (Inherited from UIElement)
ProcessKeyboardAccelerators (Inherited from UIElement)
RightTapped (Inherited from UIElement)
SelectionChanged (Inherited from Selector)
SizeChanged (Inherited from FrameworkElement)
Tapped (Inherited from UIElement)
Unloaded (Inherited from FrameworkElement)

Applies to