RadPropertyGrid Style BasedOn what defaults

2 posts, 0 answers
  1. Michael
    Michael avatar
    23 posts
    Member since:
    Mar 2014

    Posted 02 Apr 2014 Link to this post

    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.
  2. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 03 Apr 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top