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

Adding a custom property to a style

1 Answer 61 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Veteran
Michael asked on 01 Oct 2017, 08:59 AM

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

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 04 Oct 2017, 10:57 AM
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.
Tags
RichTextBox
Asked by
Michael
Top achievements
Rank 1
Veteran
Answers by
Boby
Telerik team
Share this question
or