Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Custom Shape in Silverlight (Read 1656 times)
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Custom Shape in Silverlight
Mar 9th, 2010 at 8:52am
Print Post  
Hi Stoyo

I want to create a shape in which there should be vertical line at fixed position.

For eq. To create a swim lane with title at fixed location, "Title  should be displayed vertically [90 degree rotated] and vertical line at fixed position.

Chaning the shape size horizontally, keeps the vertical line at same location, but changing the height of shape, vertical line should increase in height.

-Rajesh
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom Shape in Silverlight
Reply #1 - Mar 9th, 2010 at 11:24am
Print Post  
Hi Rajesh,

The Shape class only lets you define the line position as percents of the node width. You could use a two-cells TableNode with CaptionHeight = 0 and the width of the first column set to the fixed X location. Otherwise you will have to define a custom control template to place the line at a fixed position.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint