Adding a custom property to a style

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

    Posted 01 Oct 2017 Link to this post


    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.


  2. Boby
    Boby avatar
    645 posts

    Posted 04 Oct 2017 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.

    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