Text & Title Styling
This feature empowers developers to fine-tune the appearance of the group box title and its related text elements for clarity, emphasis, and seamless integration with application themes.
Overview
Property Details
Property
Description
Default Value
Notes
Code Examples
Example 1: Basic Title Styling
// Create a SiticoneGroupBox with custom title text and colors.
var groupBoxBasicText = new SiticoneGroupBox
{
GroupTitle = "Basic Title",
TitleColor = Color.Black, // Set the default title color
HoveredTitleColor = Color.DarkBlue, // Set title color on hover
TitleBackColor = Color.Transparent // Transparent title background for a minimalistic look
};
// Add the group box to the form.
this.Controls.Add(groupBoxBasicText);
groupBoxBasicText.Location = new Point(10, 10);
groupBoxBasicText.Size = new Size(300, 180);Example 2: Emphasized Title Styling for a Modern UI
Example 3: Dynamic Title Update
Key Points
Point
Details
Best Practices
Practice
Recommendation
Common Pitfalls
Pitfall
Avoidance Strategy
Usage Scenarios
Scenario
Description
Sample Configuration
Review
Summary
Additional Tips
Tip
Explanation
Last updated