0617-FlowDocument

FlowDocument Class

定义

命名空间:

System.Windows.Documents

Assembly:

PresentationFramework.dll

用高级文档功能(如分页和列)承载流内容和设置流内容格式。

C#复制

[System.Windows.Localizability(System.Windows.LocalizationCategory.Inherit, Readability=System.Windows.Readability.Unreadable)]
[System.Windows.Markup.ContentProperty("Blocks")]
public class FlowDocument : System.Windows.FrameworkContentElement, IServiceProvider, System.Windows.Documents.IDocumentPaginatorSource, System.Windows.Markup.IAddChild

继承

Object

DispatcherObject

DependencyObject

ContentElement

FrameworkContentElement

FlowDocument

属性

LocalizabilityAttribute ContentPropertyAttribute

实现

IServiceProvider IDocumentPaginatorSource IAddChild

注解

FlowDocument 强制实施强的内容模型为子内容。 中包含的顶级子元素FlowDocument必须派生自Block。 有效的顶级子元素包括:

默认值DataTemplate有关FlowDocument包含FlowDocumentReader用于显示文档,如果您使用FlowDocument作为 XAML 文件中的根元素。 如果FlowDocument不是根元素中,可以在显示的文档FlowDocumentScrollViewerFlowDocumentPageViewer,或FlowDocumentReader控件。 此外可以编辑FlowDocumentRichTextBox控件。

构造函数

FlowDocument()

初始化 FlowDocument 类的新的空实例。

FlowDocument(Block)

初始化 FlowDocument 类的一个新实例,将指定的 Block 元素作为初始内容添加到实例中。

字段

BackgroundProperty

标识 Background 依赖属性。

ColumnGapProperty

标识 ColumnGap 依赖属性。

ColumnRuleBrushProperty

标识 ColumnRuleBrush 依赖属性。

ColumnRuleWidthProperty

标识 ColumnRuleWidth 依赖属性。

ColumnWidthProperty

标识 ColumnWidth 依赖属性。

FlowDirectionProperty

标识 FlowDirection 依赖属性。

FontFamilyProperty

标识 FontFamily 依赖属性。

FontSizeProperty

标识 FontSize 依赖属性。

FontStretchProperty

标识 FontStretch 依赖属性。

FontStyleProperty

标识 FontStyle 依赖属性。

FontWeightProperty

标识 FontWeight 依赖属性。

ForegroundProperty

标识 Foreground 依赖属性。

IsColumnWidthFlexibleProperty

标识 IsColumnWidthFlexible 依赖属性。

IsHyphenationEnabledProperty

标识 IsHyphenationEnabled 依赖属性。

IsOptimalParagraphEnabledProperty

标识 IsOptimalParagraphEnabled 依赖属性。

LineHeightProperty

标识 LineHeight 依赖属性。

LineStackingStrategyProperty

标识 LineStackingStrategy 依赖属性。

MaxPageHeightProperty

标识 MaxPageHeight 依赖属性。

MaxPageWidthProperty

标识 MaxPageWidth 依赖属性。

MinPageHeightProperty

标识 MinPageHeight 依赖属性。

MinPageWidthProperty

标识 MinPageWidth 依赖属性。

PageHeightProperty

标识 PageHeight 依赖属性。

PagePaddingProperty

标识 PagePadding 依赖属性。

PageWidthProperty

标识 PageWidth 依赖属性。

TextAlignmentProperty

标识 TextAlignment 依赖属性。

TextEffectsProperty

标识 TextEffects 依赖属性。

属性

AllowDrop

获取或设置一个值,该值指示此元素能否用作拖放操作的目标。

(Inherited from ContentElement)
AreAnyTouchesCaptured

获取一个值,该值指示是否在此元素上捕获至少一次触摸设备。

(Inherited from ContentElement)
AreAnyTouchesCapturedWithin

获取一个值,该值指示此元素或其可视化树中任何子元素是否捕获至少一次触摸设备。

(Inherited from ContentElement)
AreAnyTouchesDirectlyOver

获取一个值,该值指示此元素上是否按下至少一次触摸设备。

(Inherited from ContentElement)
AreAnyTouchesOver

获取一个值,该值指示在此元素或其可视化树中的任何子元素是否按下至少一次触摸设备。

(Inherited from ContentElement)
Background

获取或设置要用于填充内容区域背景的 Brush

BindingGroup

获取或设置用于该元素的 BindingGroup

(Inherited from FrameworkContentElement)
Blocks

获取 Block 的内容的顶级 FlowDocument 元素。

ColumnGap

获取或设置列间隔值,该值指示 FlowDocument 中各列之间的间距。

ColumnRuleBrush

获取或设置用于绘制列之间标尺的 Brush

ColumnRuleWidth

获取或设置列标尺宽度。

ColumnWidth

获取或设置 FlowDocument 中列的所需最小宽度。

CommandBindings

获取一系列CommandBinding与此元素关联的对象。

(Inherited from ContentElement)
ContentEnd

获取表示 TextPointer 中内容末尾的 FlowDocument

ContentStart

获取表示 TextPointer 中内容起始位置的 FlowDocument

ContextMenu

获取或设置每当通过用户界面 (UI) 从此元素中请求上下文菜单时应该显示的上下文菜单元素。

(Inherited from FrameworkContentElement)
Cursor

获取或设置在鼠标指针位于此元素上时显示的光标。

(Inherited from FrameworkContentElement)
DataContext

获取或设置元素参与数据绑定时的数据上下文。

(Inherited from FrameworkContentElement)
DefaultStyleKey

获取或设置用于在主题中查找此控件的样式模板的键。

(Inherited from FrameworkContentElement)
DependencyObjectType

获取对此实例的 CLR 类型进行包装的 DependencyObjectType

(Inherited from DependencyObject)
Dispatcher

获取DispatcherDispatcherObject与相关联。

(Inherited from DispatcherObject)
FlowDirection

获取或设置 FlowDocument 中内容流的相对方向。

Focusable

获取或设置一个值,该值指示元素能否得到焦点。

(Inherited from ContentElement)
FocusVisualStyle

获取或设置一个对象,该对象允许自定义此元素在捕获到键盘焦点时要应用于此元素的外观、效果或其他样式特征。

(Inherited from FrameworkContentElement)
FontFamily

获取或设置 FlowDocument 的首选顶级字体系列。

FontSize

获取或设置 FlowDocument 的顶级字号。

FontStretch

获取或设置 FlowDocument 的顶级字体拉伸特征。

FontStyle

获取或设置 FlowDocument 的顶级字形。

FontWeight

获取或设置 FlowDocument 的顶级字体粗细。

ForceCursor

获取或设置一个值,该值指示此 FrameworkContentElement 是否应该强制用户界面 (UI) 按照此实例的 Cursor 属性所声明的方式呈现光标。

(Inherited from FrameworkContentElement)
Foreground

获取或设置要应用于 Brush 的文本内容的 FlowDocument

HasAnimatedProperties

获取一个值,该值指示此元素是否具有任何经过动画处理的属性。

(Inherited from ContentElement)
InputBindings

获取与此元素关联的输入绑定的集合。

(Inherited from ContentElement)
InputScope

获取或设置此 FrameworkContentElement 使用的输入的上下文。

(Inherited from FrameworkContentElement)
IsColumnWidthFlexible

获取或设置一个值,该值指示 ColumnWidth 值是可变的还是固定的。

IsEnabled

获取或设置一个值,该值指示是否在启用此元素用户界面 (UI)。

(Inherited from ContentElement)
IsEnabledCore

获取 IsEnabled 的 FlowDocument 属性的值。

IsFocused

获取一个值,该值确定此元素是否具有逻辑焦点。

(Inherited from ContentElement)
IsHyphenationEnabled

获取或设置一个值,该值指示是否启用文字的自动断字功能。

IsInitialized

获取一个值,该值指示是否已通过将此元素作为可扩展应用程序标记语言 (XAML) 加载或显式调用它的 EndInit() 方法初始化此元素。

(Inherited from FrameworkContentElement)
IsInputMethodEnabled

获取一个值,该值指示是否启用输入法系统(如 输入法编辑器 (IME))来处理此元素的输入。

(Inherited from ContentElement)
IsKeyboardFocused

获取一个值,该值表示此元素是否具有键盘焦点。

(Inherited from ContentElement)
IsKeyboardFocusWithin

获取一个值,该值指示是否键盘焦点位于任何位置的元素或子元素。

(Inherited from ContentElement)
IsLoaded

获取一个值,该值指示是否已加载此元素以供显示。

(Inherited from FrameworkContentElement)
IsMouseCaptured

获取一个值,该值指示此元素是否捕获鼠标。

(Inherited from ContentElement)
IsMouseCaptureWithin

获取一个值,该值确定此元素或其元素树中的子元素是否有鼠标捕获。

(Inherited from ContentElement)
IsMouseDirectlyOver

获取一个值,该值指示在考虑元素组合的情况下,鼠标指针的位置是否与命中测试结果相对应。

(Inherited from ContentElement)
IsMouseOver

获取一个值,该值指示鼠标指针是否位于此元素 (包括可视子元素或其控件组合)。

(Inherited from ContentElement)
IsOptimalParagraphEnabled

获取或设置一个值,该值指示是否启用最佳段落布局功能。

IsSealed

获取一个值,该值指示此实例当前是否为密封的(只读)。

(Inherited from DependencyObject)
IsStylusCaptured

获取一个值,该值指示是否将触笔捕获到此元素。

(Inherited from ContentElement)
IsStylusCaptureWithin

获取一个值,确定是否包括子元素和控件组合此元素具有触笔捕获。

(Inherited from ContentElement)
IsStylusDirectlyOver

获取一个值,该值指示在考虑元素组合的情况下,触笔的位置是否与命中测试结果相对应。

(Inherited from ContentElement)
IsStylusOver

获取一个值,该值指示触笔是否位于此元素 (包括可视子元素)。

(Inherited from ContentElement)
Language

获取或设置应用于单个元素的本地化/全球化语言信息。

(Inherited from FrameworkContentElement)
LineHeight

获取或设置各行内容的高度。

LineStackingStrategy

获取或设置为 FlowDocument 内的每行文本确定行框的机制。

LogicalChildren

获取一个可循环访问 FlowDocument 的逻辑子级的枚举器。

MaxPageHeight

获取或设置 FlowDocument 中的最大页高。

MaxPageWidth

获取或设置 FlowDocument 中的最大页宽。

MinPageHeight

获取或设置 FlowDocument 中的最小页高。

MinPageWidth

获取或设置 FlowDocument 中的最小页宽。

Name

获取或设置元素的标识名称。 该名称提供实例引用,以便编程代码隐藏(如事件处理程序代码)引用曾在 XAML 的分析过程中构造的元素。

(Inherited from FrameworkContentElement)
OverridesDefaultStyle

获取或设置一个值,该值指示此元素是否合并了主题样式的样式属性。

(Inherited from FrameworkContentElement)
PageHeight

获取或设置 FlowDocument 中的首选页高。

PagePadding

获取或设置一个值,该值指示页面边界与页面内容之间的边距的宽度。

PageWidth

获取或设置 FlowDocument 中的首选页宽。

Parent

获取此元素的逻辑树中的父级。

(Inherited from FrameworkContentElement)
Resources

获取或设置当前本地定义的资源字典。

(Inherited from FrameworkContentElement)
Style

获取或设置此元素要使用的样式。

(Inherited from FrameworkContentElement)
Tag

获取或设置任意对象值,该值可用于存储关于此元素的自定义信息。

(Inherited from FrameworkContentElement)
TemplatedParent

获取对此元素的模板父级的引用。 如果该元素不是通过模板创建的,则此属性无关。

(Inherited from FrameworkContentElement)
TextAlignment

获取或设置一个值,该值指示文本内容的水平对齐方式。

TextEffects

获取或设置要应用于 FlowDocument 的文本的效果。

ToolTip

获取或设置在用户界面 (UI) 中为此元素显示的工具提示对象。

(Inherited from FrameworkContentElement)
TouchesCaptured

获取此元素上捕获的所有触摸设备。

(Inherited from ContentElement)
TouchesCapturedWithin

获取其可视化树中捕获到此元素的所有触摸设备或任何子元素。

(Inherited from ContentElement)
TouchesDirectlyOver

获取此元素上的所有触摸设备。

(Inherited from ContentElement)
TouchesOver

获取其可视化树中此元素上的所有触摸设备或任何子元素。

(Inherited from ContentElement)
Typography

获取 FlowDocument 的文本内容的当前有效的版式变体。

方法

AddHandler(RoutedEvent, Delegate)

为指定的路由事件添加路由事件处理程序,并将该处理程序添加到当前元素的处理程序集合中。

(Inherited from ContentElement)
AddHandler(RoutedEvent, Delegate, Boolean)

为指定的路由事件添加路由事件处理程序,并将该处理程序添加到当前元素的处理程序集合中。 将 handledEventsToo 指定为 true,可为已标记为由事件路由中的其他元素处理的路由事件调用所提供的处理程序。

(Inherited from ContentElement)
AddLogicalChild(Object)

将提供的元素添加为此元素的子元素。

(Inherited from FrameworkContentElement)
AddToEventRoute(EventRoute, RoutedEventArgs)

将处理程序添加到指定EventRoute当前ContentElement事件处理程序集合。

(Inherited from ContentElement)
ApplyAnimationClock(DependencyProperty, AnimationClock)

将动画应用到此元素的指定依赖属性。 任何现有动画均停止并替换为新动画。

(Inherited from ContentElement)
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

向此元素的指定依赖属性应用动画,并且可以指定当该属性已有正在运行的动画时所要执行的操作。

(Inherited from ContentElement)
BeginAnimation(DependencyProperty, AnimationTimeline)

此元素上启动动画,以指定的动画属性。

(Inherited from ContentElement)
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

启动指定的动画属性,在此元素,并且可以选择指定的内容特定的动画会造成该属性已有正在运行的动画。

(Inherited from ContentElement)
BeginInit()

已在初始化元素之前调用。

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard)

开始所提供的演示图板中包含的操作序列。

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard, HandoffBehavior)

开始所提供的演示图板中包含的操作序列,其中指定了在该属性经过动画处理后要发生的行为的选项。

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard, HandoffBehavior, Boolean)

开始所提供的演示图板中包含的操作序列,其中指定了在动画开始之后动画控件的状态。

(Inherited from FrameworkContentElement)
BringIntoView()

尝试将此元素放入其所在的任何可滚动区域内的视图中。

(Inherited from FrameworkContentElement)
CaptureMouse()

尝试强制鼠标捕获到此元素。

(Inherited from ContentElement)
CaptureStylus()

尝试强制触笔捕获到此元素。

(Inherited from ContentElement)
CaptureTouch(TouchDevice)

尝试强制将触摸屏输入捕获到此元素。

(Inherited from ContentElement)
CheckAccess()

确定调用线程是否具有访问此DispatcherObject

(Inherited from DispatcherObject)
ClearValue(DependencyProperty)

清除属性的本地值。 要清除的属性由 DependencyProperty 标识符指定。

(Inherited from DependencyObject)
ClearValue(DependencyPropertyKey)

清除只读属性的本地值。 要清除的属性由 DependencyPropertyKey 指定。

(Inherited from DependencyObject)
CoerceValue(DependencyProperty)

对指定依赖属性的值进行强制。 通过对调用方 DependencyObject 上存在的依赖属性的属性元数据中所指定的任何 CoerceValueCallback 函数进行调用来完成此操作。

(Inherited from DependencyObject)
EndInit()

已在初始化元素后立即调用。

(Inherited from FrameworkContentElement)
Equals(Object)

确定提供的 DependencyObject 是否等效于当前 DependencyObject

(Inherited from DependencyObject)
FindName(String)

查找具有提供的标识符名的元素。

(Inherited from FrameworkContentElement)
FindResource(Object)

搜索具有指定键的资源,如果找不到请求的资源,则会引发异常。

(Inherited from FrameworkContentElement)
Focus()

尝试将焦点设置到此元素。

(Inherited from ContentElement)
GetAnimationBaseValue(DependencyProperty)

为此元素上的指定属性返回基属性值,忽略任何可能来自正在运行或已停止的动画的动画值。

(Inherited from ContentElement)
GetBindingExpression(DependencyProperty)

获取指定属性的绑定的 BindingExpression

(Inherited from FrameworkContentElement)
GetHashCode()

获取此 DependencyObject 的哈希代码。

(Inherited from DependencyObject)
GetLocalValueEnumerator()

创建一个专用的枚举数,用于确定哪些依赖项属性在此 DependencyObject 上具有以本地方式设置的值。

(Inherited from DependencyObject)
GetType()

获取当前实例的 Type

(Inherited from Object)
GetUIParentCore()

如果没有视觉父级,则返回此元素的备用逻辑父级。 在这种情况下,FrameworkContentElement 父级始终与 Parent 属性具有相同值。

(Inherited from FrameworkContentElement)
GetValue(DependencyProperty)

对 DependencyObject 的此实例返回依赖属性的当前有效值。

(Inherited from DependencyObject)
InvalidateProperty(DependencyProperty)

重新计算指定依赖项属性的有效值

(Inherited from DependencyObject)
MemberwiseClone()

创建当前 Object 的浅表副本。

(Inherited from Object)
MoveFocus(TraversalRequest)

将键盘焦点从此元素移到另一个元素。

(Inherited from FrameworkContentElement)
OnContextMenuClosing(ContextMenuEventArgs)

每当 ContextMenuClosing 路由事件在其路由中到达此类时调用。 实现此方法可为此事件添加类处理。

(Inherited from FrameworkContentElement)
OnContextMenuOpening(ContextMenuEventArgs)

每当 ContextMenuOpening 路由事件在其路由中到达此类时调用。 实现此方法可为此事件添加类处理。

(Inherited from FrameworkContentElement)
OnCreateAutomationPeer()

在派生类中重写时,将特定的 AutomationPeer 实现提供给 Windows Presentation Foundation (WPF) 基础结构。

OnDragEnter(DragEventArgs)

当某个未处理的 DragEnter 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnDragLeave(DragEventArgs)

当某个未处理的 DragLeave 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnDragOver(DragEventArgs)

当某个未处理的 DragOver 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnDrop(DragEventArgs)

当某个未处理的 DragEnter 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnGiveFeedback(GiveFeedbackEventArgs)

当某个未处理的 GiveFeedback 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnGotFocus(RoutedEventArgs)

GotFocus 事件的类处理程序。

(Inherited from FrameworkContentElement)
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

当某个未处理的 GotKeyboardFocus 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnGotMouseCapture(MouseEventArgs)

当某个未处理的 GotMouseCapture 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnGotStylusCapture(StylusEventArgs)

当某个未处理的 GotStylusCapture 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnGotTouchCapture(TouchEventArgs)

提供类处理GotTouchCapture路由到此元素上捕获触摸屏输入时发生的事件。

(Inherited from ContentElement)
OnInitialized(EventArgs)

引发 Initialized 事件。 只要将 IsInitialized 设置为 true,就可以调用此方法。

(Inherited from FrameworkContentElement)
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

当针对此元素引发未处理的 IsKeyboardFocusedChanged 事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

在此元素即将引发 IsKeyboardFocusWithinChanged 事件前调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

当针对此元素引发未处理的 IsMouseCapturedChanged 事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

当针对此元素引发未处理的 IsMouseCaptureWithinChanged 事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

当针对此元素引发未处理的 IsMouseDirectlyOverChanged 事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

当针对此元素引发未处理的 IsStylusCapturedChanged 事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

当针对此元素引发未处理的 IsStylusCaptureWithinChanged 事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

当针对此元素引发未处理的 IsStylusDirectlyOverChanged 事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnKeyDown(KeyEventArgs)

当某个未处理的 KeyDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnKeyUp(KeyEventArgs)

当某个未处理的 KeyUp 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnLostFocus(RoutedEventArgs)

使用提供的事件数据引发 LostFocus 路由事件。

(Inherited from ContentElement)
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

当某个未处理的 LostKeyboardFocus 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnLostMouseCapture(MouseEventArgs)

当某个未处理的 LostMouseCapture 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnLostStylusCapture(StylusEventArgs)

当某个未处理的 LostStylusCapture 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnLostTouchCapture(TouchEventArgs)

提供类处理LostTouchCapture路由此元素失去触摸屏输入捕获时发生的事件。

(Inherited from ContentElement)
OnMouseDown(MouseButtonEventArgs)

当某个未处理的 MouseDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseEnter(MouseEventArgs)

当此元素引发未处理的 MouseEnter 附加事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseLeave(MouseEventArgs)

当此元素引发未处理的 MouseLeave 附加事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseLeftButtonDown(MouseButtonEventArgs)

当此元素引发未处理的 MouseLeftButtonDown 路由事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseLeftButtonUp(MouseButtonEventArgs)

当某个未处理的 MouseLeftButtonUp 路由事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseMove(MouseEventArgs)

当某个未处理的 MouseMove 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseRightButtonDown(MouseButtonEventArgs)

当某个未处理的 MouseRightButtonDown 路由事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseRightButtonUp(MouseButtonEventArgs)

当某个未处理的 MouseRightButtonUp 路由事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseUp(MouseButtonEventArgs)

当某个未处理的 MouseUp 路由事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnMouseWheel(MouseWheelEventArgs)

当某个未处理的 MouseWheel 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewDragEnter(DragEventArgs)

当某个未处理的 PreviewDragEnter 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewDragLeave(DragEventArgs)

当某个未处理的 PreviewDragLeave 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewDragOver(DragEventArgs)

当某个未处理的 PreviewDragOver 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewDrop(DragEventArgs)

当某个未处理的 PreviewDrop 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewGiveFeedback(GiveFeedbackEventArgs)

当某个未处理的 PreviewGiveFeedback 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs)

当某个未处理的 PreviewGotKeyboardFocus 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewKeyDown(KeyEventArgs)

当某个未处理的 PreviewKeyDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewKeyUp(KeyEventArgs)

当某个未处理的 PreviewKeyUp 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)

当某个未处理的 PreviewKeyDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseDown(MouseButtonEventArgs)

当某个未处理的 PreviewMouseDown 附加路由事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

当某个未处理的 PreviewMouseLeftButtonDown 路由事件在其路由中到达派生自此类的某个元素时调用。实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

当某个未处理的 PreviewMouseLeftButtonUp 路由事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseMove(MouseEventArgs)

当某个未处理的 PreviewMouseMove 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseRightButtonDown(MouseButtonEventArgs)

当某个未处理的 PreviewMouseRightButtonDown 路由事件在其路由中到达派生自此类的某个元素时调用。实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseRightButtonUp(MouseButtonEventArgs)

当某个未处理的 PreviewMouseRightButtonUp 路由事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseUp(MouseButtonEventArgs)

当某个未处理的 PreviewMouseUp 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewMouseWheel(MouseWheelEventArgs)

当某个未处理的 PreviewMouseWheel 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewQueryContinueDrag(QueryContinueDragEventArgs)

当某个未处理的 PreviewQueryContinueDrag 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusButtonDown(StylusButtonEventArgs)

当某个未处理的 PreviewStylusButtonDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusButtonUp(StylusButtonEventArgs)

当某个未处理的 PreviewStylusButtonUp 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusDown(StylusDownEventArgs)

当某个未处理的 PreviewStylusDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusInAirMove(StylusEventArgs)

当某个未处理的 PreviewStylusInAirMove 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusInRange(StylusEventArgs)

当某个未处理的 PreviewStylusInRange 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusMove(StylusEventArgs)

当某个未处理的 PreviewStylusMove 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusOutOfRange(StylusEventArgs)

当某个未处理的 PreviewStylusOutOfRange 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)

当某个未处理的 PreviewStylusSystemGesture 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewStylusUp(StylusEventArgs)

当某个未处理的 PreviewStylusUp 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewTextInput(TextCompositionEventArgs)

当某个未处理的 PreviewTextInput 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnPreviewTouchDown(TouchEventArgs)

提供类处理PreviewTouchDown路由触摸屏输入按下此元素时发生的事件。

(Inherited from ContentElement)
OnPreviewTouchMove(TouchEventArgs)

提供类处理PreviewTouchMove路由在此元素内部移动触摸屏输入时发生的事件。

(Inherited from ContentElement)
OnPreviewTouchUp(TouchEventArgs)

提供类处理PreviewTouchUp路由的事件在此元素内部释放触摸屏输入时发生。

(Inherited from ContentElement)
OnPropertyChanged(DependencyPropertyChangedEventArgs)

当存在于元素上的一个或多个依赖属性的有效值更改时被调用。

OnQueryContinueDrag(QueryContinueDragEventArgs)

当某个未处理的 QueryContinueDrag 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnQueryCursor(QueryCursorEventArgs)

当某个未处理的 QueryCursor 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStyleChanged(Style, Style)

在此元素上使用的样式更改时调用。

(Inherited from FrameworkContentElement)
OnStylusButtonDown(StylusButtonEventArgs)

当某个未处理的 StylusButtonDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusButtonUp(StylusButtonEventArgs)

当某个未处理的 StylusButtonUp 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusDown(StylusDownEventArgs)

当某个未处理的 StylusDown 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusEnter(StylusEventArgs)

当此元素引发未处理的 StylusEnter 附加事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusInAirMove(StylusEventArgs)

当某个未处理的 StylusInAirMove 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusInRange(StylusEventArgs)

当某个未处理的 StylusInRange 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusLeave(StylusEventArgs)

当此元素引发未处理的 StylusLeave 附加事件时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusMove(StylusEventArgs)

当某个未处理的 StylusMove 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusOutOfRange(StylusEventArgs)

当某个未处理的 StylusOutOfRange 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusSystemGesture(StylusSystemGestureEventArgs)

当某个未处理的 StylusSystemGesture 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnStylusUp(StylusEventArgs)

当某个未处理的 StylusUp 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnTextInput(TextCompositionEventArgs)

当某个未处理的 TextInput 附加事件在其路由中到达派生自此类的某个元素时调用。 实现此方法可为此事件添加类处理。

(Inherited from ContentElement)
OnToolTipClosing(ToolTipEventArgs)

每当 ToolTipClosing 路由事件在其路由中到达此类时调用。 实现此方法可为此事件添加类处理。

(Inherited from FrameworkContentElement)
OnToolTipOpening(ToolTipEventArgs)

每当 ToolTipOpening 路由事件在其路由中到达此类时调用。 实现此方法可为此事件添加类处理。

(Inherited from FrameworkContentElement)
OnTouchDown(TouchEventArgs)

提供类处理TouchDown路由到此元素内按下触摸屏输入时发生的事件。

(Inherited from ContentElement)
OnTouchEnter(TouchEventArgs)

提供类处理TouchEnter路由从移动触摸屏输入时发生的事件外部更改到此元素的边界内。

(Inherited from ContentElement)
OnTouchLeave(TouchEventArgs)

提供类处理TouchLeave路由从移动触摸屏输入时发生的事件内部更改到此元素的边界之外。

(Inherited from ContentElement)
OnTouchMove(TouchEventArgs)

提供类处理TouchMove路由在此元素内部移动触摸屏输入时发生的事件。

(Inherited from ContentElement)
OnTouchUp(TouchEventArgs)

提供类处理TouchUp路由的事件在此元素内部释放触摸屏输入时发生。

(Inherited from ContentElement)
PredictFocus(FocusNavigationDirection)

根据提供的焦点移动方向,确定在此元素之后接收焦点的下一个元素,但不实际移动焦点。 此方法是密封的,不能对其进行重写。

(Inherited from FrameworkContentElement)
RaiseEvent(RoutedEventArgs)

引发特定路由事件。 在提供的 RoutedEventArgs 实例内标识将引发的 RoutedEvent(作为该事件数据的 RoutedEvent 属性)。

(Inherited from ContentElement)
ReadLocalValue(DependencyProperty)

如果存在,则返回依赖属性的本地值。

(Inherited from DependencyObject)
RegisterName(String, Object)

提供一个可简化对 NameScope 注册方法访问的访问器。

(Inherited from FrameworkContentElement)
ReleaseAllTouchCaptures()

释放此元素中的所有捕获的触摸设备。

(Inherited from ContentElement)
ReleaseMouseCapture()

如果此元素具有捕获鼠标捕获,则释放。

(Inherited from ContentElement)
ReleaseStylusCapture()

如果此元素具有捕获触笔设备捕获,则释放。

(Inherited from ContentElement)
ReleaseTouchCapture(TouchDevice)

尝试释放指定触摸屏输入从此元素设备。

(Inherited from ContentElement)
RemoveHandler(RoutedEvent, Delegate)

从此元素中删除指定的路由事件处理程序。

(Inherited from ContentElement)
RemoveLogicalChild(Object)

从该元素的逻辑树中移除指定的元素。

(Inherited from FrameworkContentElement)
SetBinding(DependencyProperty, BindingBase)

基于已提供的绑定对象将一个绑定附加到此元素上。

(Inherited from FrameworkContentElement)
SetBinding(DependencyProperty, String)

将提供的源属性名作为数据源的路径限定,从而将绑定附加到此元素上。

(Inherited from FrameworkContentElement)
SetCurrentValue(DependencyProperty, Object)

设置依赖属性的值而不更改其值源。

(Inherited from DependencyObject)
SetDpi(DpiScale)

设置 FlowDocument 的 DPI 值,以对其进行重新度量和重新呈现。

SetResourceReference(DependencyProperty, Object)

搜索具有指定名称的资源,并且为指定的属性设置一个指向该资源的资源引用。

(Inherited from FrameworkContentElement)
SetValue(DependencyProperty, Object)

设置依赖属性的本地值,该值由其依赖属性标识符指定。

(Inherited from DependencyObject)
SetValue(DependencyPropertyKey, Object)

设置一个只读依赖属性的本地值,该值由依赖属性的 DependencyPropertyKey 标识符指定。

(Inherited from DependencyObject)
ShouldSerializeCommandBindings()

返回序列化进程是否应序列化的内容CommandBindings此类的实例上的属性。

(Inherited from ContentElement)
ShouldSerializeInputBindings()

返回序列化进程是否应序列化的内容InputBindings此类的实例上的属性。

(Inherited from ContentElement)
ShouldSerializeProperty(DependencyProperty)

返回一个值,该值指示序列化进程是否应序列化所提供的依赖属性的值。

(Inherited from DependencyObject)
ShouldSerializeResources()

返回序列化进程是否应在此类的实例上序列化 Resources 属性的内容。

(Inherited from FrameworkContentElement)
ShouldSerializeStyle()

返回序列化进程是否应在此类的实例上序列化 Style 属性的内容。

(Inherited from FrameworkContentElement)
ToString()

返回表示当前对象的字符串。

(Inherited from Object)
TryFindResource(Object)

搜索具有指定键的资源,如果找到,则返回该资源。

(Inherited from FrameworkContentElement)
UnregisterName(String)

简化对 NameScope 注销方法的访问。

(Inherited from FrameworkContentElement)
UpdateDefaultStyle()

将默认样式重新应用至当前 FrameworkContentElement

(Inherited from FrameworkContentElement)
VerifyAccess()

强制执行调用线程可以访问此DispatcherObject

(Inherited from DispatcherObject)

显式界面实现

IAddChild.AddChild(Object)

添加子对象。

IAddChild.AddText(String)

将节点的文本内容添加到对象。

IDocumentPaginatorSource.DocumentPaginator

定义执行实际内容分页的源对象。

IQueryAmbient.IsAmbientPropertyAvailable(String)

有关此成员的说明,请参见 IsAmbientPropertyAvailable(String) 方法。

(Inherited from FrameworkContentElement)
IServiceProvider.GetService(Type)

获取指定类型的服务对象。

事件

ContextMenuClosing

在元素上的任何上下文菜单关闭之前发生。

(Inherited from FrameworkContentElement)
ContextMenuOpening

在元素上的任何上下文菜单打开时发生。

(Inherited from FrameworkContentElement)
DataContextChanged

当此元素的数据上下文更改时发生。

(Inherited from FrameworkContentElement)
DragEnter

在输入系统报告出现以此元素为拖动目标的基础拖动事件时发生。

(Inherited from ContentElement)
DragLeave

在输入系统报告出现以此元素为拖动起点的基础拖动事件时发生。

(Inherited from ContentElement)
DragOver

在输入系统报告出现以此元素为可能放置目标的基础拖动事件时发生。

(Inherited from ContentElement)
Drop

在输入系统报告出现将此元素作为放置目标的基础放置事件时发生。

(Inherited from ContentElement)
FocusableChanged

当 Focusable 属性的值更改时发生。

(Inherited from ContentElement)
GiveFeedback

在输入系统报告出现涉及此元素的基础拖放操作时发生。

(Inherited from ContentElement)
GotFocus

在此元素获得逻辑焦点时发生。

(Inherited from ContentElement)
GotKeyboardFocus

在此元素聚焦于键盘时发生。

(Inherited from ContentElement)
GotMouseCapture

在此元素捕获鼠标时发生。

(Inherited from ContentElement)
GotStylusCapture

在此元素捕获触笔时发生。

(Inherited from ContentElement)
GotTouchCapture

此元素上捕获触摸屏输入时发生。

(Inherited from ContentElement)
Initialized

初始化此 FrameworkContentElement 时发生。 这与 IsInitialized 属性值从 false(或未定义)更改为 true的情况相符。

(Inherited from FrameworkContentElement)
IsEnabledChanged

发生时的值IsEnabled此元素的更改的属性。

(Inherited from ContentElement)
IsKeyboardFocusedChanged

发生时的值IsKeyboardFocused此元素上的属性更改。

(Inherited from ContentElement)
IsKeyboardFocusWithinChanged

发生时的值IsKeyboardFocusWithinChanged此元素上的属性更改。

(Inherited from ContentElement)
IsMouseCapturedChanged

发生时的值IsMouseCaptured此元素上的属性更改。

(Inherited from ContentElement)
IsMouseCaptureWithinChanged

发生时的值IsMouseCaptureWithinProperty此元素上的更改。

(Inherited from ContentElement)
IsMouseDirectlyOverChanged

发生时的值IsMouseDirectlyOver此元素上的属性更改。

(Inherited from ContentElement)
IsStylusCapturedChanged

发生时的值IsStylusCaptured此元素上的属性更改。

(Inherited from ContentElement)
IsStylusCaptureWithinChanged

发生时的值IsStylusCaptureWithin此元素上的属性更改。

(Inherited from ContentElement)
IsStylusDirectlyOverChanged

发生时的值IsStylusDirectlyOver此元素上的属性更改。

(Inherited from ContentElement)
KeyDown

当焦点在该元素上时按下某个键后发生。

(Inherited from ContentElement)
KeyUp

当焦点在该元素上时松开某个键后发生。

(Inherited from ContentElement)
Loaded

当对元素进行布局、呈现,且可将其用于交互时发生。

(Inherited from FrameworkContentElement)
LostFocus

在此元素丢失逻辑焦点时发生。

(Inherited from ContentElement)
LostKeyboardFocus

在此元素不再聚焦于键盘时发生。

(Inherited from ContentElement)
LostMouseCapture

在此元素丢失鼠标捕获时发生。

(Inherited from ContentElement)
LostStylusCapture

在此元素丢失触笔捕获时发生。

(Inherited from ContentElement)
LostTouchCapture

当此元素失去触摸屏输入捕获时发生。

(Inherited from ContentElement)
MouseDown

在指针位于此元素上并且按下任意鼠标按钮时发生。

(Inherited from ContentElement)
MouseEnter

在鼠标指针进入此元素的边界时发生。

(Inherited from ContentElement)
MouseLeave

在鼠标指针离开此元素的边界时发生。

(Inherited from ContentElement)
MouseLeftButtonDown

在鼠标指针位于此元素上并且按下鼠标左键时发生。

(Inherited from ContentElement)
MouseLeftButtonUp

在鼠标指针位于此元素上并且松开鼠标左键时发生。

(Inherited from ContentElement)
MouseMove

在鼠标指针位于此元素上并且移动鼠标指针时发生。

(Inherited from ContentElement)
MouseRightButtonDown

在鼠标指针位于此元素上并且按下鼠标右键时发生。

(Inherited from ContentElement)
MouseRightButtonUp

在鼠标指针位于此元素上并且松开鼠标右键时发生。

(Inherited from ContentElement)
MouseUp

在鼠标指针位于此元素上并且松开任意鼠标按钮时发生。

(Inherited from ContentElement)
MouseWheel

在鼠标指针位于此元素上并且用户滚动鼠标滚轮时发生。

(Inherited from ContentElement)
PreviewDragEnter

在输入系统报告出现以此元素为拖动目标的基础拖动事件时发生。

(Inherited from ContentElement)
PreviewDragLeave

在输入系统报告出现以此元素为拖动起点的基础拖动事件时发生。

(Inherited from ContentElement)
PreviewDragOver

在输入系统报告出现以此元素为可能放置目标的基础拖动事件时发生。

(Inherited from ContentElement)
PreviewDrop

在输入系统报告出现将此元素作为放置目标的基础放置事件时发生。

(Inherited from ContentElement)
PreviewGiveFeedback

在开始拖放操作时发生。

(Inherited from ContentElement)
PreviewGotKeyboardFocus

在此元素聚焦于键盘时发生。

(Inherited from ContentElement)
PreviewKeyDown

在此元素聚焦于键盘并且按下某个键时发生。

(Inherited from ContentElement)
PreviewKeyUp

在此元素聚焦于键盘并且松开某个键时发生。

(Inherited from ContentElement)
PreviewLostKeyboardFocus

在此元素不再聚焦于键盘时发生。

(Inherited from ContentElement)
PreviewMouseDown

在指针位于此元素上并且按下任意鼠标按钮时发生。

(Inherited from ContentElement)
PreviewMouseLeftButtonDown

在鼠标指针位于此元素上并且按下鼠标左键时发生。

(Inherited from ContentElement)
PreviewMouseLeftButtonUp

在鼠标指针位于此元素上并且松开鼠标左键时发生。

(Inherited from ContentElement)
PreviewMouseMove

在鼠标指针位于此元素上并且移动鼠标指针时发生。

(Inherited from ContentElement)
PreviewMouseRightButtonDown

在鼠标指针位于此元素上并且按下鼠标右键时发生。

(Inherited from ContentElement)
PreviewMouseRightButtonUp

在鼠标指针位于此元素上并且松开鼠标右键时发生。

(Inherited from ContentElement)
PreviewMouseUp

在鼠标指针位于此元素上并且松开任意鼠标按钮时发生。

(Inherited from ContentElement)
PreviewMouseWheel

在鼠标指针位于此元素上并且用户滚动鼠标滚轮时发生。

(Inherited from ContentElement)
PreviewQueryContinueDrag

在拖放操作期间键盘或鼠标按钮的状态改变时发生。

(Inherited from ContentElement)
PreviewStylusButtonDown

在指针位于此元素上并且按下触笔按钮时发生。

(Inherited from ContentElement)
PreviewStylusButtonUp

在指针位于此元素上并且松开触笔按钮时发生。

(Inherited from ContentElement)
PreviewStylusDown

当触笔位于元素上且触及数字化器时发生。

(Inherited from ContentElement)
PreviewStylusInAirMove

在触笔掠过元素但并未实际接触数字化器时发生。

(Inherited from ContentElement)
PreviewStylusInRange

在触笔位于此元素上并且触笔与数字化器之间的距离近到足以检测到触笔时发生。

(Inherited from ContentElement)
PreviewStylusMove

在触笔位于元素上并且移动触笔时发生。 数字化器在检测触笔时,触笔必须处于移动状态才会引发此事件,否则将改为引发 PreviewStylusInAirMove

(Inherited from ContentElement)
PreviewStylusOutOfRange

在触笔与数字化仪之间的距离太远以致无法检测到触笔时发生。

(Inherited from ContentElement)
PreviewStylusSystemGesture

在用户采用某一种触笔笔势时发生。

(Inherited from ContentElement)
PreviewStylusUp

当触笔位于此元素上并且用户将触笔抬离数字化器时发生。

(Inherited from ContentElement)
PreviewTextInput

在此元素以设备无关模式获取文本时发生。

(Inherited from ContentElement)
PreviewTouchDown

当悬停在此元素上方的手指触摸屏幕时发生。

(Inherited from ContentElement)
PreviewTouchMove

当悬停在此元素上方的手指在屏幕上移动时发生。

(Inherited from ContentElement)
PreviewTouchUp

当悬停在此元素上方的手指从屏幕上移开时发生。

(Inherited from ContentElement)
QueryContinueDrag

在拖放操作期间键盘或鼠标按钮的状态改变时发生。

(Inherited from ContentElement)
QueryCursor

当请求显示光标时发生。 每次鼠标指针移至新位置时都会在一个元素上引发此事件,这意味着光标对象可能需要根据其新位置进行更改。

(Inherited from ContentElement)
SourceUpdated

当参与此元素上的绑定的任意关联数据源更改时发生。

(Inherited from FrameworkContentElement)
StylusButtonDown

在指针位于此元素上并且按下触笔按钮时发生。

(Inherited from ContentElement)
StylusButtonUp

在指针位于此元素上并且松开触笔按钮时发生。

(Inherited from ContentElement)
StylusDown

在触笔位于此元素上且同时触及数字化器时发生。

(Inherited from ContentElement)
StylusEnter

在触笔进入此元素的边界时发生。

(Inherited from ContentElement)
StylusInAirMove

在触笔掠过元素但并未实际接触数字化器时发生。

(Inherited from ContentElement)
StylusInRange

在触笔位于此元素上并且触笔与数字化器之间的距离近到足以检测到触笔时发生。

(Inherited from ContentElement)
StylusLeave

在触笔离开元素的边界时发生。

(Inherited from ContentElement)
StylusMove

在触笔移到此元素上时发生。 触笔必须在位于数字化器上时移动,才会引发此事件。 否则将改为引发 StylusInAirMove

(Inherited from ContentElement)
StylusOutOfRange

在触笔位于此元素上并且触笔与数字化器之间的距离太远以致无法检测到触笔时发生。

(Inherited from ContentElement)
StylusSystemGesture

在用户采用某一种触笔笔势时发生。

(Inherited from ContentElement)
StylusUp

当触笔位于此元素上并且用户将触笔抬离数字化器时发生。

(Inherited from ContentElement)
TargetUpdated

当参与此元素上的绑定的任意关联目标属性更改时发生。

(Inherited from FrameworkContentElement)
TextInput

在此元素以设备无关模式获取文本时发生。

(Inherited from ContentElement)
ToolTipClosing

在元素上的任何工具提示关闭之前发生。

(Inherited from FrameworkContentElement)
ToolTipOpening

在元素上的任何工具提示打开时发生。

(Inherited from FrameworkContentElement)
TouchDown

当悬停在此元素上方的手指触摸屏幕时发生。

(Inherited from ContentElement)
TouchEnter

从移动触摸屏输入时发生外部更改到此元素的边界内。

(Inherited from ContentElement)
TouchLeave

从移动触摸屏输入时发生内部更改到此元素的边界之外。

(Inherited from ContentElement)
TouchMove

当悬停在此元素上方的手指在屏幕上移动时发生。

(Inherited from ContentElement)
TouchUp

当悬停在此元素上方的手指从屏幕上移开时发生。

(Inherited from ContentElement)
Unloaded

当从已加载元素的元素树中移除元素时发生。

(Inherited from FrameworkContentElement)

猜你喜欢

转载自blog.csdn.net/qq_30807313/article/details/92658051