如何更改dsl隔离专区中项目的背景颜色? [英] How to change the background color of an item in a dsl compartmentshape?
问题描述
嗨!
$
有没有办法在隔间扫描程序中更改项目的背景颜色?
$
我在dsl图中有隔间形状,如果出现特定情况,我想更改隔间形状项目的背景颜色。
$
我使用Visual Studio 2013 Visualization 和Modeling SDK。
Thx Manuel
Hi!
Is there a way to change the background color of an item in a compartmentshape programmaticaly?
I have a compartmentshape in a dsl diagram and would like to change the background color of compartmentshape items if a specific situation occurs.
I use the Visual Studio 2013 Visualization and Modeling SDK.
Thx Manuel
推荐答案
Hello Manual
Hello Manual
我认为你需要在形状上添加一个Exposed Property;
http://msdn.microsoft.com/en-us/library/gg593808.aspx
I think that you need to add an Exposed Property on the shape; http://msdn.microsoft.com/en-us/library/gg593808.aspx
关心
Regards
这篇关于如何更改dsl隔离专区中项目的背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!