Defines constants that specify what action causes aSelectionChangedevent to occur. C# [Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract),65536)]publicenumComboBoxSelectionChange
<ComboBox xmlns:ui="using:CommunityToolkit.WinUI" xmlns:enums="using:MyApplication.Enums" ItemsSource="{ui:EnumValues Type=enums:Animal}" SelectedItem="{x:Bind SelectedAnimal, Mode=OneWay}" /> C# 复制 private Animal selectedAnimal = Animal.Dog; public Animal SelectedAnimal { get => selec...
Defines constants that specify the direction to pull a RefreshContainer to initiate a refresh. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshPullDirection (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).C#...
TextBox TextBoxBeforeTextChangingEventArgs TextBoxSelectionChangingEventArgs TextBoxTextChangingEventArgs TextChangedEventArgs TextChangedEventHandler TextCommandBarFlyout TextCompositionChangedEventArgs TextCompositionEndedEventArgs TextCompositionStartedEventArgs TextControlCopyingToClipboardEventArgs TextControlCuttingToC...
Defines constants that specify the starting position of a RefreshVisualizer's progress spinner. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshVisualizerOrientation (for WinUI in the Windows App SDK, see the Windows App SDK namespaces)
Defines contstants that specify which Hue-Saturation-Value-Alpha component a slider in a ColorPicker controls. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorPickerHsvChannel (for WinUI in the Windows App SDK, see the Windows App SDK nam
Defines constants that specify how the Hue-Saturation-Value (HSV) color components are mapped onto the ColorSpectrum. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorSpectrumComponents (for WinUI in the Windows App SDK, see the Windows Ap
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Core.Direct.XamlTypeIndex (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). C# Kopiëren [Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Xaml.Core.Direct.XamlDirectContract), 65536)] public enum XamlType...
Menentukan konstanta yang menentukan apakah pilihan item berubah ketika fokus keyboard berubah dalam NavigationView. API WinUI 2 yang setara untuk UWP: Microsoft.UI.Xaml.Controls.NavigationViewSelectionFollowsFocus (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).C#...
Enum that lists all the supported events in XamlDirect. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Core.Direct.XamlEventIndex (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).