示例#1
0
 protected virtual void OnLoaded() // 只会執行一次, 设计时可呈现使用
 {
     if (PresentationFrameworkModule.IsInDesignMode)
     {
         ElementDraws.Add(new AxisControlDesignDraw());
     }
 }
示例#2
0
 public override void Initialize()
 {
     base.Initialize();
     ElementDraws.Add(new DateTimeLineDraw());
     GetAxisPanel().ZoomValueChanged += AxisPanelZoomValueChanged;
     base.OnLoaded();
     ChangeGraduations();
 }
示例#3
0
 public override void Initialize()
 {
     ElementDraws.Add(new SelectedBlocksLayerDraw());
     base.Initialize();
 }
示例#4
0
 public override void Initialize()
 {
     base.Initialize();
     ElementDraws.Add(new ScaleSelectedItemLayerDraw());
 }
示例#5
0
 public override void Initialize()
 {
     ElementDraws.Add(new SelectedRowControlDraw());
     base.Initialize();
 }
示例#6
0
 public override void Initialize()
 {
     ElementDraws.Add(new BackgroundColorDraw());
     base.Initialize();
 }
示例#7
0
 public override void Initialize()
 {
     ElementDraws.Add(new RowLinesControlDraw());
     base.Initialize();
 }
示例#8
0
 public override void Initialize()
 {
     base.Initialize();
     ElementDraws.Clear();
     ElementDraws.Add(new GapDistanceDraw());
 }