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());
        }
Пример #2
0
        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());
        }
Пример #3
0
 public override void DrawObject(DevExpress.Utils.Drawing.ObjectInfoArgs e)
 {
     base.DrawObject(e);
 }
Пример #4
0
 protected override RotateFlipType GetRotationAngle(DevExpress.Utils.Drawing.ObjectInfoArgs e)
 {
     return(RotateFlipType.Rotate180FlipNone);
 }
Пример #5
0
 protected override void DrawContent(DevExpress.Utils.Drawing.ObjectInfoArgs e)
 {
     base.DrawContent(e);
 }