Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how to set captionbackbrush (Read 1228 times)
chuckdawit
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Sep 4th, 2009
how to set captionbackbrush
Sep 28th, 2009 at 9:07pm
Print Post  
how do I set the caption backbrush property at the bottom?

MindFusion.FlowChartX.Table textBox2 = strategyFlowChart.CreateTable(rect.X + 36 + xoffset, rect.Y + 20 + yoffset, 10, 10);
textBox2.EnableStyledText = true;
textBox2.Selected = false;
textBox2.AttachTo(textBox, MindFusion.FlowChartX.AttachToNode.BottomRight);
textBox2.Locked = true;
//textBox2.Style = MindFusion.FlowChartX.BoxStyle.Shape;
//textBox2.Shape = MindFusion.FlowChartX.ShapeTemplate.OffpageReference;
strategyFlowChart.Add(textBox2);

IndicatorGroupNode BnodeType = new IndicatorGroupNode(textBox2);
Group Bgroup = _editorStrategy.CreateIndicatorGroup();
BnodeType.Group = Bgroup as IndicatorGroup;
Bgroup.Name = "P1-B";
textBox2.Caption = "P1-B";
textBox2.FillColor = Color.Moccasin;
textBox2.CaptionBackBrush = ??????
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to set captionbackbrush
Reply #1 - Sep 29th, 2009 at 5:37am
Print Post  
textBox2.CaptionBackBrush = new MindFusion.Drawing.SolidBrush(Color....);

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