Skip to content

Attributes

NameUse
TitleTitle Information
BackgroundTitle Background Color
ForegroundTitle Font Color
BorderBrushTitle Border Color
TitlePlacementTitle Alignment
TitleWidthTitle Width
MarginOnTheLeftMargin On The Left
Padding
MinHeight
MinWidth
MarginOnTheTop

Use Cases

Title

xml
     <hc:TextBox hc:TitleElement.Title="Title Information"
                 Margin="10,10"></hc:TextBox>

TitleElement.Title

TitlePlacement

xml
     <!--The title is on the top side -->
     <hc:TextBox hc:TitleElement.Title="Title Information"
              Hc:TitleElement.TitlePlacement="Top"
              Margin="10,10"></hc:TextBox>
     <!--The title is on the left -->
     <hc:TextBox hc:TitleElement.Title="Title Information"
              Hc:TitleElement.TitlePlacement="Left"
              Margin="10,10"></hc:TextBox>

TitleElement.TitlePlacement

TitleWidth

xml
         <!--Set TitleWidth to Auto-->
         <hc:TextBox hc:TitleElement.Title="Title Information"
              Hc:TitleElement.TitlePlacement="Left"
              Hc:TitleElement.TitleWidth="Auto"
              Margin="10,10"></hc:TextBox>
         <!--Set TitleWidth to a specific value -->
         <hc:TextBox hc:TitleElement.Title="Title Information"
              Hc:TitleElement.TitlePlacement="Left"
              Hc:TitleElement.TitleWidth="60"
              Margin="10,10"></hc:TextBox>

TitleElement.TitleWidth

Released under the MIT License.