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