TextBox Kelas

Definisi

/// [Microsoft.UI.Xaml.Controls.InputProperty(Name="Text")]
/// [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 TextBox : Control
[Microsoft.UI.Xaml.Controls.InputProperty(Name="Text")]
[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 TextBox : Control
Public Class TextBox
Inherits Control
Warisan
Atribut

Konstruktor

Nama Deskripsi
TextBox()

Properti

Nama Deskripsi
AcceptsReturn
AcceptsReturnProperty
AccessKey (Diperoleh dari UIElement)
AccessKeyScopeOwner (Diperoleh dari UIElement)
ActualHeight (Diperoleh dari FrameworkElement)
ActualOffset (Diperoleh dari UIElement)
ActualSize (Diperoleh dari UIElement)
ActualTheme (Diperoleh dari FrameworkElement)
ActualWidth (Diperoleh dari FrameworkElement)
AllowDrop (Diperoleh dari UIElement)
AllowFocusOnInteraction (Diperoleh dari FrameworkElement)
AllowFocusWhenDisabled (Diperoleh dari FrameworkElement)
Background (Diperoleh dari Control)
BackgroundSizing (Diperoleh dari Control)
BaseUri (Diperoleh dari FrameworkElement)
BorderBrush (Diperoleh dari Control)
BorderThickness (Diperoleh dari Control)
CacheMode (Diperoleh dari UIElement)
CanBeScrollAnchor (Diperoleh dari UIElement)
CanDrag (Diperoleh dari UIElement)
CanPasteClipboardContent
CanPasteClipboardContentProperty
CanRedo
CanRedoProperty
CanUndo
CanUndoProperty
CenterPoint (Diperoleh dari UIElement)
CharacterCasing
CharacterCasingProperty
CharacterSpacing (Diperoleh dari Control)
Clip (Diperoleh dari UIElement)
CompositeMode (Diperoleh dari UIElement)
ContextFlyout (Diperoleh dari UIElement)
CornerRadius (Diperoleh dari Control)
DataContext (Diperoleh dari FrameworkElement)
DefaultStyleKey (Diperoleh dari Control)
DefaultStyleResourceUri (Diperoleh dari Control)
Description
DescriptionProperty
DesiredCandidateWindowAlignment
DesiredCandidateWindowAlignmentProperty
DesiredSize (Diperoleh dari UIElement)
Dispatcher (Diperoleh dari DependencyObject)
DispatcherQueue (Diperoleh dari DependencyObject)
ElementSoundMode (Diperoleh dari Control)
ExitDisplayModeOnAccessKeyInvoked (Diperoleh dari UIElement)
FlowDirection (Diperoleh dari FrameworkElement)
FocusState (Diperoleh dari UIElement)
FocusVisualMargin (Diperoleh dari FrameworkElement)
FocusVisualPrimaryBrush (Diperoleh dari FrameworkElement)
FocusVisualPrimaryThickness (Diperoleh dari FrameworkElement)
FocusVisualSecondaryBrush (Diperoleh dari FrameworkElement)
FocusVisualSecondaryThickness (Diperoleh dari FrameworkElement)
FontFamily (Diperoleh dari Control)
FontSize (Diperoleh dari Control)
FontStretch (Diperoleh dari Control)
FontStyle (Diperoleh dari Control)
FontWeight (Diperoleh dari Control)
Foreground (Diperoleh dari Control)
Header
HeaderProperty
HeaderTemplate
HeaderTemplateProperty
Height (Diperoleh dari FrameworkElement)
HighContrastAdjustment (Diperoleh dari UIElement)
HorizontalAlignment (Diperoleh dari FrameworkElement)
HorizontalContentAlignment (Diperoleh dari Control)
HorizontalTextAlignment
HorizontalTextAlignmentProperty
InputScope
InputScopeProperty
IsAccessKeyScope (Diperoleh dari UIElement)
IsColorFontEnabled
IsColorFontEnabledProperty
IsDoubleTapEnabled (Diperoleh dari UIElement)
IsEnabled (Diperoleh dari Control)
IsFocusEngaged (Diperoleh dari Control)
IsFocusEngagementEnabled (Diperoleh dari Control)
IsHitTestVisible (Diperoleh dari UIElement)
IsHoldingEnabled (Diperoleh dari UIElement)
IsLoaded (Diperoleh dari FrameworkElement)
IsReadOnly
IsReadOnlyProperty
IsRightTapEnabled (Diperoleh dari UIElement)
IsSpellCheckEnabled
IsSpellCheckEnabledProperty
IsTabStop (Diperoleh dari UIElement)
IsTapEnabled (Diperoleh dari UIElement)
IsTextPredictionEnabled
IsTextPredictionEnabledProperty
IsTextScaleFactorEnabled (Diperoleh dari Control)
KeyboardAcceleratorPlacementMode (Diperoleh dari UIElement)
KeyboardAcceleratorPlacementTarget (Diperoleh dari UIElement)
KeyboardAccelerators (Diperoleh dari UIElement)
KeyTipHorizontalOffset (Diperoleh dari UIElement)
KeyTipPlacementMode (Diperoleh dari UIElement)
KeyTipTarget (Diperoleh dari UIElement)
KeyTipVerticalOffset (Diperoleh dari UIElement)
Language (Diperoleh dari FrameworkElement)
Lights (Diperoleh dari UIElement)
ManipulationMode (Diperoleh dari UIElement)
Margin (Diperoleh dari FrameworkElement)
MaxHeight (Diperoleh dari FrameworkElement)
MaxLength
MaxLengthProperty
MaxWidth (Diperoleh dari FrameworkElement)
MinHeight (Diperoleh dari FrameworkElement)
MinWidth (Diperoleh dari FrameworkElement)
Name (Diperoleh dari FrameworkElement)
Opacity (Diperoleh dari UIElement)
OpacityTransition (Diperoleh dari UIElement)
Padding (Diperoleh dari Control)
Parent (Diperoleh dari FrameworkElement)
PlaceholderForeground
PlaceholderForegroundProperty
PlaceholderText
PlaceholderTextProperty
PointerCaptures (Diperoleh dari UIElement)
PreventKeyboardDisplayOnProgrammaticFocus
PreventKeyboardDisplayOnProgrammaticFocusProperty
Projection (Diperoleh dari UIElement)
ProofingMenuFlyout
ProofingMenuFlyoutProperty
ProtectedCursor (Diperoleh dari UIElement)
RasterizationScale (Diperoleh dari UIElement)
RenderSize (Diperoleh dari UIElement)
RenderTransform (Diperoleh dari UIElement)
RenderTransformOrigin (Diperoleh dari UIElement)
RequestedTheme (Diperoleh dari FrameworkElement)
RequiresPointer (Diperoleh dari Control)
Resources (Diperoleh dari FrameworkElement)
Rotation (Diperoleh dari UIElement)
RotationAxis (Diperoleh dari UIElement)
RotationTransition (Diperoleh dari UIElement)
Scale (Diperoleh dari UIElement)
ScaleTransition (Diperoleh dari UIElement)
SelectedText
SelectionFlyout
SelectionFlyoutProperty
SelectionHighlightColor
SelectionHighlightColorProperty
SelectionHighlightColorWhenNotFocused
SelectionHighlightColorWhenNotFocusedProperty
SelectionLength
SelectionStart
Shadow (Diperoleh dari UIElement)
Style (Diperoleh dari FrameworkElement)
TabFocusNavigation (Diperoleh dari UIElement)
TabIndex (Diperoleh dari UIElement)
TabNavigation (Diperoleh dari Control)
Tag (Diperoleh dari FrameworkElement)
Template (Diperoleh dari Control)
Text
TextAlignment
TextAlignmentProperty
TextProperty
TextReadingOrder
TextReadingOrderProperty
TextWrapping
TextWrappingProperty
Transform3D (Diperoleh dari UIElement)
TransformMatrix (Diperoleh dari UIElement)
Transitions (Diperoleh dari UIElement)
Translation (Diperoleh dari UIElement)
TranslationTransition (Diperoleh dari UIElement)
Triggers (Diperoleh dari FrameworkElement)
UseLayoutRounding (Diperoleh dari UIElement)
UseSystemFocusVisuals (Diperoleh dari UIElement)
VerticalAlignment (Diperoleh dari FrameworkElement)
VerticalContentAlignment (Diperoleh dari Control)
Visibility (Diperoleh dari UIElement)
Width (Diperoleh dari FrameworkElement)
XamlRoot (Diperoleh dari UIElement)
XYFocusDown (Diperoleh dari UIElement)
XYFocusDownNavigationStrategy (Diperoleh dari UIElement)
XYFocusKeyboardNavigation (Diperoleh dari UIElement)
XYFocusLeft (Diperoleh dari UIElement)
XYFocusLeftNavigationStrategy (Diperoleh dari UIElement)
XYFocusRight (Diperoleh dari UIElement)
XYFocusRightNavigationStrategy (Diperoleh dari UIElement)
XYFocusUp (Diperoleh dari UIElement)
XYFocusUpNavigationStrategy (Diperoleh dari UIElement)

Metode

Nama Deskripsi
AddHandler(RoutedEvent, Object, Boolean) (Diperoleh dari UIElement)
ApplyTemplate() (Diperoleh dari Control)
Arrange(Rect) (Diperoleh dari UIElement)
ArrangeOverride(Size) (Diperoleh dari FrameworkElement)
CancelDirectManipulations() (Diperoleh dari UIElement)
CapturePointer(Pointer) (Diperoleh dari UIElement)
ClearUndoRedoHistory()
ClearValue(DependencyProperty) (Diperoleh dari DependencyObject)
CopySelectionToClipboard()
CutSelectionToClipboard()
FindName(String) (Diperoleh dari FrameworkElement)
FindSubElementsForTouchTargeting(Point, Rect) (Diperoleh dari UIElement)
Focus(FocusState) (Diperoleh dari UIElement)
GetAnimationBaseValue(DependencyProperty) (Diperoleh dari DependencyObject)
GetBindingExpression(DependencyProperty) (Diperoleh dari FrameworkElement)
GetChildrenInTabFocusOrder() (Diperoleh dari UIElement)
GetLinguisticAlternativesAsync()
GetRectFromCharacterIndex(Int32, Boolean)
GetTemplateChild(String) (Diperoleh dari Control)
GetValue(DependencyProperty) (Diperoleh dari DependencyObject)
GetVisualInternal() (Diperoleh dari UIElement)
GoToElementStateCore(String, Boolean) (Diperoleh dari FrameworkElement)
InvalidateArrange() (Diperoleh dari UIElement)
InvalidateMeasure() (Diperoleh dari UIElement)
InvalidateViewport() (Diperoleh dari FrameworkElement)
Measure(Size) (Diperoleh dari UIElement)
MeasureOverride(Size) (Diperoleh dari FrameworkElement)
OnApplyTemplate() (Diperoleh dari FrameworkElement)
OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) (Diperoleh dari UIElement)
OnCharacterReceived(CharacterReceivedRoutedEventArgs) (Diperoleh dari Control)
OnCreateAutomationPeer() (Diperoleh dari UIElement)
OnDisconnectVisualChildren() (Diperoleh dari UIElement)
OnDoubleTapped(DoubleTappedRoutedEventArgs) (Diperoleh dari Control)
OnDragEnter(DragEventArgs) (Diperoleh dari Control)
OnDragLeave(DragEventArgs) (Diperoleh dari Control)
OnDragOver(DragEventArgs) (Diperoleh dari Control)
OnDrop(DragEventArgs) (Diperoleh dari Control)
OnGotFocus(RoutedEventArgs) (Diperoleh dari Control)
OnHolding(HoldingRoutedEventArgs) (Diperoleh dari Control)
OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) (Diperoleh dari UIElement)
OnKeyDown(KeyRoutedEventArgs) (Diperoleh dari Control)
OnKeyUp(KeyRoutedEventArgs) (Diperoleh dari Control)
OnLostFocus(RoutedEventArgs) (Diperoleh dari Control)
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs) (Diperoleh dari Control)
OnManipulationDelta(ManipulationDeltaRoutedEventArgs) (Diperoleh dari Control)
OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs) (Diperoleh dari Control)
OnManipulationStarted(ManipulationStartedRoutedEventArgs) (Diperoleh dari Control)
OnManipulationStarting(ManipulationStartingRoutedEventArgs) (Diperoleh dari Control)
OnPointerCanceled(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPointerCaptureLost(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPointerEntered(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPointerExited(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPointerMoved(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPointerPressed(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPointerReleased(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPointerWheelChanged(PointerRoutedEventArgs) (Diperoleh dari Control)
OnPreviewKeyDown(KeyRoutedEventArgs) (Diperoleh dari Control)
OnPreviewKeyUp(KeyRoutedEventArgs) (Diperoleh dari Control)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) (Diperoleh dari UIElement)
OnRightTapped(RightTappedRoutedEventArgs) (Diperoleh dari Control)
OnTapped(TappedRoutedEventArgs) (Diperoleh dari Control)
PasteFromClipboard()
PopulatePropertyInfo(String, AnimationPropertyInfo) (Diperoleh dari UIElement)
PopulatePropertyInfoOverride(String, AnimationPropertyInfo) (Diperoleh dari UIElement)
ReadLocalValue(DependencyProperty) (Diperoleh dari DependencyObject)
Redo()
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) (Diperoleh dari DependencyObject)
ReleasePointerCapture(Pointer) (Diperoleh dari UIElement)
ReleasePointerCaptures() (Diperoleh dari UIElement)
RemoveFocusEngagement() (Diperoleh dari Control)
RemoveHandler(RoutedEvent, Object) (Diperoleh dari UIElement)
Select(Int32, Int32)
SelectAll()
SetBinding(DependencyProperty, BindingBase) (Diperoleh dari FrameworkElement)
SetValue(DependencyProperty, Object) (Diperoleh dari DependencyObject)
StartAnimation(ICompositionAnimationBase) (Diperoleh dari UIElement)
StartBringIntoView() (Diperoleh dari UIElement)
StartBringIntoView(BringIntoViewOptions) (Diperoleh dari UIElement)
StartDragAsync(ExpPointerPoint) (Diperoleh dari UIElement)
StartDragAsync(PointerPoint) (Diperoleh dari UIElement)
StopAnimation(ICompositionAnimationBase) (Diperoleh dari UIElement)
TransformToVisual(UIElement) (Diperoleh dari UIElement)
TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs) (Diperoleh dari UIElement)
Undo()
UnregisterPropertyChangedCallback(DependencyProperty, Int64) (Diperoleh dari DependencyObject)
UpdateLayout() (Diperoleh dari UIElement)

Acara

Nama Deskripsi
AccessKeyDisplayDismissed (Diperoleh dari UIElement)
AccessKeyDisplayRequested (Diperoleh dari UIElement)
AccessKeyInvoked (Diperoleh dari UIElement)
ActualThemeChanged (Diperoleh dari FrameworkElement)
BeforeTextChanging
BringIntoViewRequested (Diperoleh dari UIElement)
CandidateWindowBoundsChanged
CharacterReceived (Diperoleh dari UIElement)
ContextCanceled (Diperoleh dari UIElement)
ContextMenuOpening
ContextRequested (Diperoleh dari UIElement)
CopyingToClipboard
CuttingToClipboard
DataContextChanged (Diperoleh dari FrameworkElement)
DoubleTapped (Diperoleh dari UIElement)
DragEnter (Diperoleh dari UIElement)
DragLeave (Diperoleh dari UIElement)
DragOver (Diperoleh dari UIElement)
DragStarting (Diperoleh dari UIElement)
Drop (Diperoleh dari UIElement)
DropCompleted (Diperoleh dari UIElement)
EffectiveViewportChanged (Diperoleh dari FrameworkElement)
FocusDisengaged (Diperoleh dari Control)
FocusEngaged (Diperoleh dari Control)
GettingFocus (Diperoleh dari UIElement)
GotFocus (Diperoleh dari UIElement)
Holding (Diperoleh dari UIElement)
IsEnabledChanged (Diperoleh dari Control)
KeyDown (Diperoleh dari UIElement)
KeyUp (Diperoleh dari UIElement)
LayoutUpdated (Diperoleh dari FrameworkElement)
Loaded (Diperoleh dari FrameworkElement)
Loading (Diperoleh dari FrameworkElement)
LosingFocus (Diperoleh dari UIElement)
LostFocus (Diperoleh dari UIElement)
ManipulationCompleted (Diperoleh dari UIElement)
ManipulationDelta (Diperoleh dari UIElement)
ManipulationInertiaStarting (Diperoleh dari UIElement)
ManipulationStarted (Diperoleh dari UIElement)
ManipulationStarting (Diperoleh dari UIElement)
NoFocusCandidateFound (Diperoleh dari UIElement)
Paste
PointerCanceled (Diperoleh dari UIElement)
PointerCaptureLost (Diperoleh dari UIElement)
PointerEntered (Diperoleh dari UIElement)
PointerExited (Diperoleh dari UIElement)
PointerMoved (Diperoleh dari UIElement)
PointerPressed (Diperoleh dari UIElement)
PointerReleased (Diperoleh dari UIElement)
PointerWheelChanged (Diperoleh dari UIElement)
PreviewKeyDown (Diperoleh dari UIElement)
PreviewKeyUp (Diperoleh dari UIElement)
ProcessKeyboardAccelerators (Diperoleh dari UIElement)
RightTapped (Diperoleh dari UIElement)
SelectionChanged
SelectionChanging
SizeChanged (Diperoleh dari FrameworkElement)
Tapped (Diperoleh dari UIElement)
TextChanged
TextChanging
TextCompositionChanged
TextCompositionEnded
TextCompositionStarted
Unloaded (Diperoleh dari FrameworkElement)

Berlaku untuk