Adding a custom property to a style

2 posts, 0 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Sep 2017

    Posted 01 Oct Link to this post

    Hi,

    I'd like to add some custom properties to styles.

    Suppose I wanted to add a property called blink to my document's styles, how would I go about it?
    I'm hoping to find a better approach than (shudder) serializing something into the Tag property.

    Thanks

  2. Boby
    Admin
    Boby avatar
    631 posts

    Posted 04 Oct Link to this post

    Hello Michael,

    The API was not meant for customizing the style properties. Could you describe what is your scenario, and what you want to achieve, as we may be able to suggest another approach.

    Regards,
    Boby
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top