TitledItemsControl ClassDW.WPFToolkit Documentation
Shows items with its title allined to each other. This can be used for every kind of input masks.
Inheritance Hierarchy

SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsItemsControl
                DW.WPFToolkit.ControlsTitledItemsControl

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public class TitledItemsControl : ItemsControl

The TitledItemsControl type exposes the following members.

Constructors

  NameDescription
Public methodTitledItemsControl
Initializes a new instance of the TitledItemsControl class
Top
Methods

  NameDescription
Protected methodGetContainerForItemOverride
Generates a new child item container to hold in the DynamicTabControl.
(Overrides ItemsControlGetContainerForItemOverride.)
Protected methodIsItemItsOwnContainerOverride
Checks if the item is already the correct item container. If not the GetContainerForItemOverride will be used to generate the right container.
(Overrides ItemsControlIsItemItsOwnContainerOverride(Object).)
Top
Fields

  NameDescription
Public fieldStatic memberContentMarginsProperty
Identifies the ContentMargins dependency property.
Public fieldStatic memberHorizontalContentAlignmentsProperty
Identifies the HorizontalContentAlignments dependency property.
Public fieldStatic memberHorizontalTitleAlignmentsProperty
Identifies the HorizontalTitleAlignments dependency property.
Public fieldStatic memberTitleMarginsProperty
Identifies the TitleMargins dependency property.
Public fieldStatic memberVerticalContentAlignmentsProperty
Identifies the VerticalContentAlignments dependency property.
Public fieldStatic memberVerticalTitleAlignmentsProperty
Identifies the VerticalTitleAlignments dependency property.
Top
Properties

  NameDescription
Public propertyContentMargins
Gets or sets a value that defines the margins of all contents in the child elements.
Public propertyHorizontalContentAlignments
Gets or sets a value that defines the horizontal alignments of all contens in the child elements.
Public propertyHorizontalTitleAlignments
Gets or sets a value that defines the horizontal alignment of all titles in the child elements.
Public propertyTitleMargins
Gets or sets a value that defines the margin of all titles in the child elements
Public propertyVerticalContentAlignments
Gets or sets a value that defines the vertical alignments of all contents in the child elements.
Public propertyVerticalTitleAlignments
Gets or sets a value that defines the vertical alignment of all titles in the child elements.
Top
Examples

XAML
<WPFToolkit:TitledItemsControl>
    <WPFToolkit:TitledItem Title="Name:">
        <TextBox Text="{Binding Name}" />
    </WPFToolkit:TitledItem>
    <WPFToolkit:TitledItem Title="Age:">
        <TextBox Text="{Binding Age}" />
    </WPFToolkit:TitledItem>
    <WPFToolkit:TitledItem Title="Sex:">
        <TextBox Text="{Binding Sex}" />
    </WPFToolkit:TitledItem>
</WPFToolkit:TitledItemsControl>
See Also

Reference