TextBlock Clase

Definición

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
Herencia
Object Platform::Object IInspectable DependencyObject UIElement FrameworkElement TextBlock
Atributos

Constructores

Nombre Description
TextBlock()

Propiedades

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

Métodos

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

Eventos

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

Se aplica a