Approved
Last Updated: 01 Aug 2016 16:40 by matt
ADMIN
Vessy
Created on: 08 Sep 2014 14:10
Category: Diagram
Type: Feature Request
1
Add CssClass property to the Shape's ContentSettings
ContentSettings should have a property for CssClass:
<ContentSettings Text="Some txt" CssClass="myLabel" />

or a Style property:
<ContentSettings Text="Some txt" Style="font:bold 14px arial;color:red;" />

this would allow developers to style the textual elements in their diagrams.
2 comments
matt
Posted on: 01 Aug 2016 16:40
good to see this and the other suggestions i made in beta are finally approved. had to use many work arounds
matt
Posted on: 09 Sep 2014 16:59
when RadDiagram matures we'll definitely need a ways to style textual elements/shapes in our diagrams. currently the only way to do this is by manipulating the TextBlocks themselves via the Visual property and a corresponding javascript method. that works, but is not ideal as it mixes style w/ client side code....would prefer to indicate or specify all style in the markup.