示例#1
0
        override public void CopyFrom(Style style)
        {
            base.CopyFrom(style);

            FancyLabelStyle flstyle = style as FancyLabelStyle;

            if (flstyle != null)
            {
                Cursor = flstyle.Cursor;
            }
        }
示例#2
0
        override public void MergeWith(Style style)
        {
            base.MergeWith(style);

            FancyLabelStyle flstyle = style as FancyLabelStyle;

            //Only merge if inbound style is set and current style is not set
            if ((flstyle != null) && (!flstyle.IsEmpty) && (IsEmpty))
            {
                Cursor = flstyle.Cursor;
            }
        }
示例#3
0
        protected override Style CreateControlStyle()
        {
            FancyLabelStyle style = new FancyLabelStyle(ViewState);

            return(style);
        }