protected override void DrawContent(DevExpress.Utils.Drawing.ObjectInfoArgs e) { EditorButtonObjectInfoArgs ee = e as EditorButtonObjectInfoArgs; string caption = OwnerEditInfo == null? ee.Button.Caption : OwnerEditInfo.DisplayText; ButtonPainter.DrawCaption(ee, caption, ee.Appearance.Font, GetForeBrush(ee), e.Bounds, ee.Appearance.GetStringFormat()); }
protected override void DrawContent(DevExpress.Utils.Drawing.ObjectInfoArgs e) { EditorButtonObjectInfoArgs ee = e as EditorButtonObjectInfoArgs; string caption = ((ExtendedButtonEditViewInfo)OwnerEditInfo).GetButtonCaption(ee.Button); ButtonPainter.DrawCaption(ee, caption, ee.Appearance.Font, GetForeBrush(ee), e.Bounds, ee.Appearance.GetStringFormat()); }
public override void DrawObject(DevExpress.Utils.Drawing.ObjectInfoArgs e) { base.DrawObject(e); }
protected override RotateFlipType GetRotationAngle(DevExpress.Utils.Drawing.ObjectInfoArgs e) { return(RotateFlipType.Rotate180FlipNone); }
protected override void DrawContent(DevExpress.Utils.Drawing.ObjectInfoArgs e) { base.DrawContent(e); }