public virtual void SetLook(DetailAppearance Look = null) { Look = Look.NullDefault(this.Designator.Value.DetailLook); this.EditingLook = (this.IsForDefinition ? Look : Look.Clone()); if (this.IsTableDetail) { var TableLook = this.EditingLook as TableAppearance; if (TableLook == null) { throw new UsageAnomaly("Formatter must be of TableAppearance type because Designator is TableDetailDesignator"); } } }
public override void SetLook(DetailAppearance Look = null) { base.SetLook(Look); this.IsCustomLook = !this.EditingLook.IsEqual(this.Designator.Value.DetailLook); }