AutoSuggestBox 类

定义

public ref class AutoSuggestBox sealed : ItemsControl
/// [Microsoft.UI.Xaml.Controls.InputProperty(Name="Text")]
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [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 AutoSuggestBox final : ItemsControl
[Microsoft.UI.Xaml.Controls.InputProperty(Name="Text")]
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[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 sealed class AutoSuggestBox : ItemsControl
Public NotInheritable Class AutoSuggestBox
Inherits ItemsControl
继承
Object Platform::Object IInspectable DependencyObject UIElement FrameworkElement Control ItemsControl AutoSuggestBox
属性

构造函数

名称 说明
AutoSuggestBox()

属性

名称 说明
AccessKey (继承自 UIElement)
AccessKeyScopeOwner (继承自 UIElement)
ActualHeight (继承自 FrameworkElement)
ActualOffset (继承自 UIElement)
ActualSize (继承自 UIElement)
ActualTheme (继承自 FrameworkElement)
ActualWidth (继承自 FrameworkElement)
AllowDrop (继承自 UIElement)
AllowFocusOnInteraction (继承自 FrameworkElement)
AllowFocusWhenDisabled (继承自 FrameworkElement)
AutoMaximizeSuggestionArea
AutoMaximizeSuggestionAreaProperty
Background (继承自 Control)
BackgroundSizing (继承自 Control)
BaseUri (继承自 FrameworkElement)
BorderBrush (继承自 Control)
BorderThickness (继承自 Control)
CacheMode (继承自 UIElement)
CanBeScrollAnchor (继承自 UIElement)
CanDrag (继承自 UIElement)
CenterPoint (继承自 UIElement)
CharacterSpacing (继承自 Control)
Clip (继承自 UIElement)
CompositeMode (继承自 UIElement)
ContextFlyout (继承自 UIElement)
CornerRadius (继承自 Control)
DataContext (继承自 FrameworkElement)
DefaultStyleKey (继承自 Control)
DefaultStyleResourceUri (继承自 Control)
Description
DescriptionProperty
DesiredSize (继承自 UIElement)
Dispatcher (继承自 DependencyObject)
DispatcherQueue (继承自 DependencyObject)
DisplayMemberPath (继承自 ItemsControl)
ElementSoundMode (继承自 Control)
ExitDisplayModeOnAccessKeyInvoked (继承自 UIElement)
FlowDirection (继承自 FrameworkElement)
FocusState (继承自 UIElement)
FocusVisualMargin (继承自 FrameworkElement)
FocusVisualPrimaryBrush (继承自 FrameworkElement)
FocusVisualPrimaryThickness (继承自 FrameworkElement)
FocusVisualSecondaryBrush (继承自 FrameworkElement)
FocusVisualSecondaryThickness (继承自 FrameworkElement)
FontFamily (继承自 Control)
FontSize (继承自 Control)
FontStretch (继承自 Control)
FontStyle (继承自 Control)
FontWeight (继承自 Control)
Foreground (继承自 Control)
GroupStyle (继承自 ItemsControl)
GroupStyleSelector (继承自 ItemsControl)
Header
HeaderProperty
Height (继承自 FrameworkElement)
HighContrastAdjustment (继承自 UIElement)
HorizontalAlignment (继承自 FrameworkElement)
HorizontalContentAlignment (继承自 Control)
IsAccessKeyScope (继承自 UIElement)
IsDoubleTapEnabled (继承自 UIElement)
IsEnabled (继承自 Control)
IsFocusEngaged (继承自 Control)
IsFocusEngagementEnabled (继承自 Control)
IsGrouping (继承自 ItemsControl)
IsHitTestVisible (继承自 UIElement)
IsHoldingEnabled (继承自 UIElement)
IsLoaded (继承自 FrameworkElement)
IsRightTapEnabled (继承自 UIElement)
IsSuggestionListOpen
IsSuggestionListOpenProperty
IsTabStop (继承自 UIElement)
IsTapEnabled (继承自 UIElement)
IsTextScaleFactorEnabled (继承自 Control)
ItemContainerGenerator (继承自 ItemsControl)
ItemContainerStyle (继承自 ItemsControl)
ItemContainerStyleSelector (继承自 ItemsControl)
ItemContainerTransitions (继承自 ItemsControl)
Items (继承自 ItemsControl)
ItemsPanel (继承自 ItemsControl)
ItemsPanelRoot (继承自 ItemsControl)
ItemsSource (继承自 ItemsControl)
ItemTemplate (继承自 ItemsControl)
ItemTemplateSelector (继承自 ItemsControl)
KeyboardAcceleratorPlacementMode (继承自 UIElement)
KeyboardAcceleratorPlacementTarget (继承自 UIElement)
KeyboardAccelerators (继承自 UIElement)
KeyTipHorizontalOffset (继承自 UIElement)
KeyTipPlacementMode (继承自 UIElement)
KeyTipTarget (继承自 UIElement)
KeyTipVerticalOffset (继承自 UIElement)
Language (继承自 FrameworkElement)
LightDismissOverlayMode
LightDismissOverlayModeProperty
Lights (继承自 UIElement)
ManipulationMode (继承自 UIElement)
Margin (继承自 FrameworkElement)
MaxHeight (继承自 FrameworkElement)
MaxSuggestionListHeight
MaxSuggestionListHeightProperty
MaxWidth (继承自 FrameworkElement)
MinHeight (继承自 FrameworkElement)
MinWidth (继承自 FrameworkElement)
Name (继承自 FrameworkElement)
Opacity (继承自 UIElement)
OpacityTransition (继承自 UIElement)
Padding (继承自 Control)
Parent (继承自 FrameworkElement)
PlaceholderText
PlaceholderTextProperty
PointerCaptures (继承自 UIElement)
Projection (继承自 UIElement)
ProtectedCursor (继承自 UIElement)
QueryIcon
QueryIconProperty
RasterizationScale (继承自 UIElement)
RenderSize (继承自 UIElement)
RenderTransform (继承自 UIElement)
RenderTransformOrigin (继承自 UIElement)
RequestedTheme (继承自 FrameworkElement)
RequiresPointer (继承自 Control)
Resources (继承自 FrameworkElement)
Rotation (继承自 UIElement)
RotationAxis (继承自 UIElement)
RotationTransition (继承自 UIElement)
Scale (继承自 UIElement)
ScaleTransition (继承自 UIElement)
Shadow (继承自 UIElement)
Style (继承自 FrameworkElement)
TabFocusNavigation (继承自 UIElement)
TabIndex (继承自 UIElement)
TabNavigation (继承自 Control)
Tag (继承自 FrameworkElement)
Template (继承自 Control)
Text
TextBoxStyle
TextBoxStyleProperty
TextMemberPath
TextMemberPathProperty
TextProperty
Transform3D (继承自 UIElement)
TransformMatrix (继承自 UIElement)
Transitions (继承自 UIElement)
Translation (继承自 UIElement)
TranslationTransition (继承自 UIElement)
Triggers (继承自 FrameworkElement)
UpdateTextOnSelect
UpdateTextOnSelectProperty
UseLayoutRounding (继承自 UIElement)
UseSystemFocusVisuals (继承自 UIElement)
VerticalAlignment (继承自 FrameworkElement)
VerticalContentAlignment (继承自 Control)
Visibility (继承自 UIElement)
Width (继承自 FrameworkElement)
XamlRoot (继承自 UIElement)
XYFocusDown (继承自 UIElement)
XYFocusDownNavigationStrategy (继承自 UIElement)
XYFocusKeyboardNavigation (继承自 UIElement)
XYFocusLeft (继承自 UIElement)
XYFocusLeftNavigationStrategy (继承自 UIElement)
XYFocusRight (继承自 UIElement)
XYFocusRightNavigationStrategy (继承自 UIElement)
XYFocusUp (继承自 UIElement)
XYFocusUpNavigationStrategy (继承自 UIElement)

方法

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

活动

名称 说明
AccessKeyDisplayDismissed (继承自 UIElement)
AccessKeyDisplayRequested (继承自 UIElement)
AccessKeyInvoked (继承自 UIElement)
ActualThemeChanged (继承自 FrameworkElement)
BringIntoViewRequested (继承自 UIElement)
CharacterReceived (继承自 UIElement)
ContextCanceled (继承自 UIElement)
ContextRequested (继承自 UIElement)
DataContextChanged (继承自 FrameworkElement)
DoubleTapped (继承自 UIElement)
DragEnter (继承自 UIElement)
DragLeave (继承自 UIElement)
DragOver (继承自 UIElement)
DragStarting (继承自 UIElement)
Drop (继承自 UIElement)
DropCompleted (继承自 UIElement)
EffectiveViewportChanged (继承自 FrameworkElement)
FocusDisengaged (继承自 Control)
FocusEngaged (继承自 Control)
GettingFocus (继承自 UIElement)
GotFocus (继承自 UIElement)
Holding (继承自 UIElement)
IsEnabledChanged (继承自 Control)
KeyDown (继承自 UIElement)
KeyUp (继承自 UIElement)
LayoutUpdated (继承自 FrameworkElement)
Loaded (继承自 FrameworkElement)
Loading (继承自 FrameworkElement)
LosingFocus (继承自 UIElement)
LostFocus (继承自 UIElement)
ManipulationCompleted (继承自 UIElement)
ManipulationDelta (继承自 UIElement)
ManipulationInertiaStarting (继承自 UIElement)
ManipulationStarted (继承自 UIElement)
ManipulationStarting (继承自 UIElement)
NoFocusCandidateFound (继承自 UIElement)
PointerCanceled (继承自 UIElement)
PointerCaptureLost (继承自 UIElement)
PointerEntered (继承自 UIElement)
PointerExited (继承自 UIElement)
PointerMoved (继承自 UIElement)
PointerPressed (继承自 UIElement)
PointerReleased (继承自 UIElement)
PointerWheelChanged (继承自 UIElement)
PreviewKeyDown (继承自 UIElement)
PreviewKeyUp (继承自 UIElement)
ProcessKeyboardAccelerators (继承自 UIElement)
QuerySubmitted
RightTapped (继承自 UIElement)
SizeChanged (继承自 FrameworkElement)
SuggestionChosen
Tapped (继承自 UIElement)
TextChanged
Unloaded (继承自 FrameworkElement)

适用于