override public void CopyFrom(Style style) { base.CopyFrom(style); FancyLabelStyle flstyle = style as FancyLabelStyle; if (flstyle != null) { Cursor = flstyle.Cursor; } }
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; } }
protected override Style CreateControlStyle() { FancyLabelStyle style = new FancyLabelStyle(ViewState); return(style); }