<hc:SearchBarhc:InfoElement.Placeholder="Please enter the query criteria" Hc:InfoElement.Title="Query Condition" Margin="10,10"hc:InfoElement.Necessary="True" Style="{StaticResource SearchBarExtend}"/>
Where hc:InfoElement.Title="query condition" inherited from parent class
effect:
Symbol
1 2 3 4
<hc:SearchBarhc:InfoElement.Placeholder="Please enter the content" Hc:InfoElement.Title="This item is required"Style="{StaticResource SearchBarExtend}" Margin="10,10"hc:InfoElement.Necessary="True" Hc:InfoElement.Symbol="x"/>
ContentHeight
1 2 3 4 5
<hc:SearchBarhc:InfoElement.Placeholder="Please enter the query criteria" Hc:InfoElement.ContentHeight="50" Hc:InfoElement.Title="Query Condition" Margin="10,10"hc:InfoElement.Necessary="True" Style="{StaticResource SearchBarExtend}"/>
RegexPattern
By setting this attribute, you can customize the verification logic inside the information element to realize error prompts for content outside the specified format.