Ghost1372

everything can be handy

TitleElement

Attributes

Name Use
Title Title Information
Background Title Background Color
Foreground Title Font Color
BorderBrush Title Border Color
TitlePlacement Title Alignment
TitleWidth Title Width
MarginOnTheLeft Margin On The Left
Padding
MinHeight
MinWidth
MarginOnTheTop

Use Cases

Title

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

TitleElement.Title

TitlePlacement

1
2
3
4
5
6
7
8
     <!--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

1
2
3
4
5
6
7
8
9
10
         <!--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

0%