TextBlock Klasse

Definition

public ref class TextBlock sealed : FrameworkElement
/// [Microsoft.UI.Xaml.Markup.ContentProperty(Name="Inlines")]
/// [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 TextBlock final : FrameworkElement
[Microsoft.UI.Xaml.Markup.ContentProperty(Name="Inlines")]
[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 TextBlock : FrameworkElement
Public NotInheritable Class TextBlock
Inherits FrameworkElement
Vererbung
Object Platform::Object IInspectable DependencyObject UIElement FrameworkElement TextBlock
Attribute

Konstruktoren

Name Beschreibung
TextBlock()

Eigenschaften

Name Beschreibung
AccessKey (Geerbt von UIElement)
AccessKeyScopeOwner (Geerbt von UIElement)
ActualHeight (Geerbt von FrameworkElement)
ActualOffset (Geerbt von UIElement)
ActualSize (Geerbt von UIElement)
ActualTheme (Geerbt von FrameworkElement)
ActualWidth (Geerbt von FrameworkElement)
AllowDrop (Geerbt von UIElement)
AllowFocusOnInteraction (Geerbt von FrameworkElement)
AllowFocusWhenDisabled (Geerbt von FrameworkElement)
BaselineOffset
BaseUri (Geerbt von FrameworkElement)
CacheMode (Geerbt von UIElement)
CanBeScrollAnchor (Geerbt von UIElement)
CanDrag (Geerbt von UIElement)
CenterPoint (Geerbt von UIElement)
CharacterSpacing
CharacterSpacingProperty
Clip (Geerbt von UIElement)
CompositeMode (Geerbt von UIElement)
ContentEnd
ContentStart
ContextFlyout (Geerbt von UIElement)
DataContext (Geerbt von FrameworkElement)
DesiredSize (Geerbt von UIElement)
Dispatcher (Geerbt von DependencyObject)
DispatcherQueue (Geerbt von DependencyObject)
ExitDisplayModeOnAccessKeyInvoked (Geerbt von UIElement)
FlowDirection (Geerbt von FrameworkElement)
FocusState (Geerbt von UIElement)
FocusVisualMargin (Geerbt von FrameworkElement)
FocusVisualPrimaryBrush (Geerbt von FrameworkElement)
FocusVisualPrimaryThickness (Geerbt von FrameworkElement)
FocusVisualSecondaryBrush (Geerbt von FrameworkElement)
FocusVisualSecondaryThickness (Geerbt von FrameworkElement)
FontFamily
FontFamilyProperty
FontSize
FontSizeProperty
FontStretch
FontStretchProperty
FontStyle
FontStyleProperty
FontWeight
FontWeightProperty
Foreground
ForegroundProperty
Height (Geerbt von FrameworkElement)
HighContrastAdjustment (Geerbt von UIElement)
HorizontalAlignment (Geerbt von FrameworkElement)
HorizontalTextAlignment
HorizontalTextAlignmentProperty
Inlines
IsAccessKeyScope (Geerbt von UIElement)
IsColorFontEnabled
IsColorFontEnabledProperty
IsDoubleTapEnabled (Geerbt von UIElement)
IsHitTestVisible (Geerbt von UIElement)
IsHoldingEnabled (Geerbt von UIElement)
IsLoaded (Geerbt von FrameworkElement)
IsRightTapEnabled (Geerbt von UIElement)
IsTabStop (Geerbt von UIElement)
IsTapEnabled (Geerbt von UIElement)
IsTextScaleFactorEnabled
IsTextScaleFactorEnabledProperty
IsTextSelectionEnabled
IsTextSelectionEnabledProperty
IsTextTrimmed
IsTextTrimmedProperty
KeyboardAcceleratorPlacementMode (Geerbt von UIElement)
KeyboardAcceleratorPlacementTarget (Geerbt von UIElement)
KeyboardAccelerators (Geerbt von UIElement)
KeyTipHorizontalOffset (Geerbt von UIElement)
KeyTipPlacementMode (Geerbt von UIElement)
KeyTipTarget (Geerbt von UIElement)
KeyTipVerticalOffset (Geerbt von UIElement)
Language (Geerbt von FrameworkElement)
Lights (Geerbt von UIElement)
LineHeight
LineHeightProperty
LineStackingStrategy
LineStackingStrategyProperty
ManipulationMode (Geerbt von UIElement)
Margin (Geerbt von FrameworkElement)
MaxHeight (Geerbt von FrameworkElement)
MaxLines
MaxLinesProperty
MaxWidth (Geerbt von FrameworkElement)
MinHeight (Geerbt von FrameworkElement)
MinWidth (Geerbt von FrameworkElement)
Name (Geerbt von FrameworkElement)
Opacity (Geerbt von UIElement)
OpacityTransition (Geerbt von UIElement)
OpticalMarginAlignment
OpticalMarginAlignmentProperty
Padding
PaddingProperty
Parent (Geerbt von FrameworkElement)
PointerCaptures (Geerbt von UIElement)
Projection (Geerbt von UIElement)
ProtectedCursor (Geerbt von UIElement)
RasterizationScale (Geerbt von UIElement)
RenderSize (Geerbt von UIElement)
RenderTransform (Geerbt von UIElement)
RenderTransformOrigin (Geerbt von UIElement)
RequestedTheme (Geerbt von FrameworkElement)
Resources (Geerbt von FrameworkElement)
Rotation (Geerbt von UIElement)
RotationAxis (Geerbt von UIElement)
RotationTransition (Geerbt von UIElement)
Scale (Geerbt von UIElement)
ScaleTransition (Geerbt von UIElement)
SelectedText
SelectedTextProperty
SelectionEnd
SelectionFlyout
SelectionFlyoutProperty
SelectionHighlightColor
SelectionHighlightColorProperty
SelectionStart
Shadow (Geerbt von UIElement)
Style (Geerbt von FrameworkElement)
TabFocusNavigation (Geerbt von UIElement)
TabIndex (Geerbt von UIElement)
Tag (Geerbt von FrameworkElement)
Text
TextAlignment
TextAlignmentProperty
TextDecorations
TextDecorationsProperty
TextHighlighters
TextLineBounds
TextLineBoundsProperty
TextProperty
TextReadingOrder
TextReadingOrderProperty
TextTrimming
TextTrimmingProperty
TextWrapping
TextWrappingProperty
Transform3D (Geerbt von UIElement)
TransformMatrix (Geerbt von UIElement)
Transitions (Geerbt von UIElement)
Translation (Geerbt von UIElement)
TranslationTransition (Geerbt von UIElement)
Triggers (Geerbt von FrameworkElement)
UseLayoutRounding (Geerbt von UIElement)
UseSystemFocusVisuals (Geerbt von UIElement)
VerticalAlignment (Geerbt von FrameworkElement)
Visibility (Geerbt von UIElement)
Width (Geerbt von FrameworkElement)
XamlRoot (Geerbt von UIElement)
XYFocusDown (Geerbt von UIElement)
XYFocusDownNavigationStrategy (Geerbt von UIElement)
XYFocusKeyboardNavigation (Geerbt von UIElement)
XYFocusLeft (Geerbt von UIElement)
XYFocusLeftNavigationStrategy (Geerbt von UIElement)
XYFocusRight (Geerbt von UIElement)
XYFocusRightNavigationStrategy (Geerbt von UIElement)
XYFocusUp (Geerbt von UIElement)
XYFocusUpNavigationStrategy (Geerbt von UIElement)

Methoden

Name Beschreibung
AddHandler(RoutedEvent, Object, Boolean) (Geerbt von UIElement)
Arrange(Rect) (Geerbt von UIElement)
ArrangeOverride(Size) (Geerbt von FrameworkElement)
CancelDirectManipulations() (Geerbt von UIElement)
CapturePointer(Pointer) (Geerbt von UIElement)
ClearValue(DependencyProperty) (Geerbt von DependencyObject)
CopySelectionToClipboard()
FindName(String) (Geerbt von FrameworkElement)
FindSubElementsForTouchTargeting(Point, Rect) (Geerbt von UIElement)
Focus(FocusState) (Geerbt von UIElement)
GetAlphaMask()
GetAnimationBaseValue(DependencyProperty) (Geerbt von DependencyObject)
GetBindingExpression(DependencyProperty) (Geerbt von FrameworkElement)
GetChildrenInTabFocusOrder() (Geerbt von UIElement)
GetValue(DependencyProperty) (Geerbt von DependencyObject)
GetVisualInternal() (Geerbt von UIElement)
GoToElementStateCore(String, Boolean) (Geerbt von FrameworkElement)
InvalidateArrange() (Geerbt von UIElement)
InvalidateMeasure() (Geerbt von UIElement)
InvalidateViewport() (Geerbt von FrameworkElement)
Measure(Size) (Geerbt von UIElement)
MeasureOverride(Size) (Geerbt von FrameworkElement)
OnApplyTemplate() (Geerbt von FrameworkElement)
OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) (Geerbt von UIElement)
OnCreateAutomationPeer() (Geerbt von UIElement)
OnDisconnectVisualChildren() (Geerbt von UIElement)
OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) (Geerbt von UIElement)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) (Geerbt von UIElement)
PopulatePropertyInfo(String, AnimationPropertyInfo) (Geerbt von UIElement)
PopulatePropertyInfoOverride(String, AnimationPropertyInfo) (Geerbt von UIElement)
ReadLocalValue(DependencyProperty) (Geerbt von DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) (Geerbt von DependencyObject)
ReleasePointerCapture(Pointer) (Geerbt von UIElement)
ReleasePointerCaptures() (Geerbt von UIElement)
RemoveHandler(RoutedEvent, Object) (Geerbt von UIElement)
Select(TextPointer, TextPointer)
SelectAll()
SetBinding(DependencyProperty, BindingBase) (Geerbt von FrameworkElement)
SetValue(DependencyProperty, Object) (Geerbt von DependencyObject)
StartAnimation(ICompositionAnimationBase) (Geerbt von UIElement)
StartBringIntoView() (Geerbt von UIElement)
StartBringIntoView(BringIntoViewOptions) (Geerbt von UIElement)
StartDragAsync(ExpPointerPoint) (Geerbt von UIElement)
StartDragAsync(PointerPoint) (Geerbt von UIElement)
StopAnimation(ICompositionAnimationBase) (Geerbt von UIElement)
TransformToVisual(UIElement) (Geerbt von UIElement)
TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs) (Geerbt von UIElement)
UnregisterPropertyChangedCallback(DependencyProperty, Int64) (Geerbt von DependencyObject)
UpdateLayout() (Geerbt von UIElement)

Ereignisse

Name Beschreibung
AccessKeyDisplayDismissed (Geerbt von UIElement)
AccessKeyDisplayRequested (Geerbt von UIElement)
AccessKeyInvoked (Geerbt von UIElement)
ActualThemeChanged (Geerbt von FrameworkElement)
BringIntoViewRequested (Geerbt von UIElement)
CharacterReceived (Geerbt von UIElement)
ContextCanceled (Geerbt von UIElement)
ContextMenuOpening
ContextRequested (Geerbt von UIElement)
DataContextChanged (Geerbt von FrameworkElement)
DoubleTapped (Geerbt von UIElement)
DragEnter (Geerbt von UIElement)
DragLeave (Geerbt von UIElement)
DragOver (Geerbt von UIElement)
DragStarting (Geerbt von UIElement)
Drop (Geerbt von UIElement)
DropCompleted (Geerbt von UIElement)
EffectiveViewportChanged (Geerbt von FrameworkElement)
GettingFocus (Geerbt von UIElement)
GotFocus (Geerbt von UIElement)
Holding (Geerbt von UIElement)
IsTextTrimmedChanged
KeyDown (Geerbt von UIElement)
KeyUp (Geerbt von UIElement)
LayoutUpdated (Geerbt von FrameworkElement)
Loaded (Geerbt von FrameworkElement)
Loading (Geerbt von FrameworkElement)
LosingFocus (Geerbt von UIElement)
LostFocus (Geerbt von UIElement)
ManipulationCompleted (Geerbt von UIElement)
ManipulationDelta (Geerbt von UIElement)
ManipulationInertiaStarting (Geerbt von UIElement)
ManipulationStarted (Geerbt von UIElement)
ManipulationStarting (Geerbt von UIElement)
NoFocusCandidateFound (Geerbt von UIElement)
PointerCanceled (Geerbt von UIElement)
PointerCaptureLost (Geerbt von UIElement)
PointerEntered (Geerbt von UIElement)
PointerExited (Geerbt von UIElement)
PointerMoved (Geerbt von UIElement)
PointerPressed (Geerbt von UIElement)
PointerReleased (Geerbt von UIElement)
PointerWheelChanged (Geerbt von UIElement)
PreviewKeyDown (Geerbt von UIElement)
PreviewKeyUp (Geerbt von UIElement)
ProcessKeyboardAccelerators (Geerbt von UIElement)
RightTapped (Geerbt von UIElement)
SelectionChanged
SizeChanged (Geerbt von FrameworkElement)
Tapped (Geerbt von UIElement)
Unloaded (Geerbt von FrameworkElement)

Gilt für: