This is a migrated thread and some comments may be shown as answers.

RadPropertyGrid Style BasedOn what defaults

1 Answer 127 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 02 Apr 2014, 03:29 PM
Hello,

I was successful in applying a style to a RadPropertyGrid through XAML. Is there a default style we could reference in the BasedOn tag?

Thank ye...

Best regards.

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 03 Apr 2014, 07:00 AM
Hi Michael, 

I would recommend you to work with our Implicit Styles. You can check our online documentation where you can find more information on them. Using our Implicit Styles you need to base your style on the needed control using the name of the control and the suffix “Style” as a StaticResource Key. You can use the BasedOn attribute, which is primarily used with NoXAML binaries in order to inherit base styles. Please check the following code snippet for a reference:
<Style TargetType="telerik:RadPropertyGrid" BasedOn="{StaticResource RadPropertyGridStyle}">
             
</Style>


Regards,
Yoan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PropertyGrid
Asked by
Michael
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or