Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FlowDocument Properties

(see also Protected Properties )
  Name Description
Public property AllowDrop  Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation. This is a dependency property. (inherited from ContentElement)
Public property Background Gets or sets the Brush used to fill the background of content area.
Public property Blocks Gets a BlockCollection containing the top-level Block elements that comprise the contents of the FlowDocument.
Public property ColumnGap Gets or sets the column gap value, which indicates the spacing between columns in a FlowDocument.
Public property ColumnRuleBrush Gets or sets the Brush used to draw the rule between columns.
Public property ColumnRuleWidth Gets or sets a the column rule width.
Public property ColumnWidth Gets or sets the minimum desired width of the columns within a FlowDocument.
Public property CommandBindings  Gets a collection of CommandBinding objects that are associated with this element. (inherited from ContentElement)
Public property ContentEnd Gets a TextPointer that represents the end of the content within a FlowDocument.
Public property ContentStart Gets a TextPointer that represents the start of content within a FlowDocument.
Public property ContextMenu  Gets or sets the context menu element that should appear whenever the context menu is requested via user interface (UI) from within this element. This is a dependency property. (inherited from FrameworkContentElement)
Public property Cursor  Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property. (inherited from FrameworkContentElement)
Public property DataContext  Gets or sets the data context for an element when it participates in data binding. This is a dependency property. (inherited from FrameworkContentElement)
Public property DependencyObjectType  Gets the DependencyObjectType that wraps the CLR type of this instance. (inherited from DependencyObject)
Public property Dispatcher  Gets the Dispatcher this DispatcherObject is associated with. (inherited from DispatcherObject)
Public property FlowDirection Gets or sets a value that specifies the relative direction for flow of content within a FlowDocument.
Public property Focusable  Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. (inherited from ContentElement)
Public property FocusVisualStyle  Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. This is a dependency property. (inherited from FrameworkContentElement)
Public property FontFamily Gets or sets the preferred top-level font family for the FlowDocument.
Public property FontSize Gets or sets the top-level font size for the FlowDocument.
Public property FontStretch Gets or sets the top-level font-stretching characteristics for the FlowDocument.
Public property FontStyle Gets or sets the top-level font style for the FlowDocument.
Public property FontWeight Gets or sets the top-level font weight for the FlowDocument.
Public property ForceCursor  Gets or sets a value indicating whether this FrameworkContentElement should force the user interface (UI) to render the cursor as declared by this instance's Cursor property. This is a dependency property. (inherited from FrameworkContentElement)
Public property Foreground Gets or sets the Brush to apply to the text contents of the FlowDocument.
Public property HasAnimatedProperties  Gets a value that indicates whether this element has any animated properties. (inherited from ContentElement)
Public property InputBindings  Gets the collection of input bindings that are associated with this element. (inherited from ContentElement)
Public property InputScope  Gets or sets the context for input used by this FrameworkContentElement. This is a dependency property. (inherited from FrameworkContentElement)
Public property IsColumnWidthFlexible Gets or sets a value that indicates whether the ColumnWidth value is flexible or fixed.
Public property IsEnabled  Gets or sets a value that indicates whether this element is enabled in the user interface (UI). This is a dependency property. (inherited from ContentElement)
Public property IsFocused  Gets a value that determines whether this element has logical focus. This is a dependency property. (inherited from ContentElement)
Public property IsHyphenationEnabled Gets or sets a value that indicates whether automatic hyphenation of words is enabled or disabled.
Public property IsInitialized  Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML), or by explicitly having its EndInit method called. (inherited from FrameworkContentElement)
Public property IsInputMethodEnabled  Gets a value that indicates whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. (inherited from ContentElement)
Public property IsKeyboardFocused  Gets a value that indicates whether this element has keyboard focus. This is a dependency property. (inherited from ContentElement)
Public property IsKeyboardFocusWithin  Gets a value that indicates whether keyboard focus is anywhere within the element or child elements. This is a dependency property. (inherited from ContentElement)
Public property IsLoaded  Gets a value indicating whether this element has been loaded for presentation. (inherited from FrameworkContentElement)
Public property IsMouseCaptured  Gets a value that indicates whether the mouse is captured by this element. This is a dependency property. (inherited from ContentElement)
Public property IsMouseCaptureWithin  Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree. This is a dependency property. (inherited from ContentElement)
Public property IsMouseDirectlyOver  Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property. (inherited from ContentElement)
Public property IsMouseOver  Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing). This is a dependency property. (inherited from ContentElement)
Public property IsOptimalParagraphEnabled Gets or sets a value that indicates whether optimal paragraph layout is enabled or disabled.
Public property IsSealed  Gets a value that declares whether this instance is currently read-only. (inherited from DependencyObject)
Public property IsStylusCaptured  Gets a value that indicates whether the stylus is captured to this element. This is a dependency property. (inherited from ContentElement)
Public property IsStylusCaptureWithin  Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing. This is a dependency property. (inherited from ContentElement)
Public property IsStylusDirectlyOver  Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property. (inherited from ContentElement)
Public property IsStylusOver  Gets a value that indicates whether the stylus is located over this element (including visual child elements). This is a dependency property. (inherited from ContentElement)
Public property Language  Gets or sets localization/globalization language information that applies to an individual element. This is a dependency property. (inherited from FrameworkContentElement)
Public property LineHeight Gets or sets the height of each line of content.
Public property LineStackingStrategy Gets or sets the mechanism by which a line box is determined for each line of text within the FlowDocument.
Public property MaxPageHeight Gets or sets the maximum height for pages in a FlowDocument.
Public property MaxPageWidth Gets or sets the maximum width for pages in a FlowDocument.
Public property MinPageHeight Gets or sets the minimum height for pages in a FlowDocument.
Public property MinPageWidth Gets or sets the minimum width for pages in a FlowDocument.
Public property Name  Gets or sets the identifying name of the element. The name provides an instance reference so that programmatic code-behind, such as event handler code, can refer to an element once it is constructed during parsing of XAML. This is a dependency property. (inherited from FrameworkContentElement)
Public property OverridesDefaultStyle  Gets or sets a value indicating whether this element incorporates style properties from theme styles. This is a dependency property. (inherited from FrameworkContentElement)
Public property PageHeight Gets or sets the preferred height for pages in a FlowDocument.
Public property PagePadding Gets or sets a value that indicates the thickness of padding space between the boundaries of a page and the page's content.
Public property PageWidth Gets or sets the preferred width for pages in a FlowDocument.
Public property Parent  Gets the parent in the logical tree for this element. (inherited from FrameworkContentElement)
Public property Resources  Gets or sets the current locally-defined resource dictionary. (inherited from FrameworkContentElement)
Public property Style  Gets or sets the style to be used by this element. This is a dependency property. (inherited from FrameworkContentElement)
Public property Tag  Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property. (inherited from FrameworkContentElement)
Public property TemplatedParent  Gets a reference to the template parent of this element This property is not relevant if the element was not created through a template. (inherited from FrameworkContentElement)
Public property TextAlignment Gets or sets a value that indicates the horizontal alignment of text content.
Public property TextEffects Gets or sets a collection of text effects that contains the effects to apply to the text of a FlowDocument.
Public property ToolTip  Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). This is a dependency property. (inherited from FrameworkContentElement)
Public property Typography Gets the currently effective typography variations for the text contents of the FlowDocument.
Top

  Name Description
Protected property DefaultStyleKey  Gets or sets the key to use to find the style template for this control in themes. This is a dependency property. (inherited from FrameworkContentElement)
Protected property IsEnabledCore Gets the value of the IsEnabled property for the FlowDocument.
Protected property LogicalChildren Gets an enumerator that can iterate the logical children of the FlowDocument.
Top

  Name Description
Explicit interface implementation Property System.Windows.Documents.IDocumentPaginatorSource.DocumentPaginator This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft