Tip:
Highlight text to annotate it
X
Hi. I'm Greg Lutz, Product Manager at ComponentOne.
ComponentOne Clearstyle technology is a feature of our XAML Studios that makes it very easy
to style the controls. It allows you, the developer, to customize a control's appearance
without having to hassle with complex XAML templates or use expression blend.
With Clearstyle technology baked into every ComponentOne XAML control, you can quickly
and easily change the control's appearance right on the Visual Studio designer surface.
There's nothing new or different that you need to learn. Clearstyle simply makes working
with ComponentOne XAML controls faster and easier.
Let me show you how Clearstyle works and how you can take advantage of it in your applications.
Every control exposes many brush and fill properties for each key part of itself. For
example, the C1DataGrid control has brushes for RowBackground, HeaderBackground, SelectedBackground,
MouseOverBrush and several other parts.
You, the developer, can quickly set these properties in Visual Studio using the brush
editor. Create solid color brushes, gradient brushes, even complex visual brushes. All
will work with Clearstyle. And the best part is you don't need to jump back and forth with
Expression Blend if you don't want to.
The brushes you apply get evenly distributed throughout each layer of the control's template.
This magical process is Clearstyle technology!
Most standard and other 3rd party controls do not possess this type of technology. That
means you would have to dissect every control's template just to perform basic style changes
as you see here.
Clearstyle also makes it easier for designers to work with ComponentOne controls in Expression
Blend. You can extend the usage of Clearstyle effectively throughout your entire application
using style resources, just as you would for any control.
For example, here I am creating an implicit, global style for all C1DataGrids in my application.
Within this style I then set each background, brush or fill property that defines the appearance
of the control. And wala - thanks to Clearstyle and a simple style resource, I have instantly
applied a theme for this control across my entire application.
Clearstyle technology is one of the more unique and useful features you'll find inside our
XAML studios for Silverlight, WPF, Windows Phone and Metro. I hope this video has made
it clear.
Visit componentone.com to learn more about these products and download your free trial
today.
I'm Greg Lutz. Thanks for watching, and thanks for choosing ComponentOne.