public override void Assign(RepositoryItem item) { RepositoryItemRichTextIndentEdit source = item as RepositoryItemRichTextIndentEdit; BeginUpdate(); try { base.Assign(item); if (source == null) { return; } this.DefaultUnitType = source.DefaultUnitType; } finally { EndUpdate(); } }
public override void Assign(RepositoryItem item) { RepositoryItemRichTextIndentEdit source = item as RepositoryItemRichTextIndentEdit; BeginUpdate(); try { base.Assign(item); if (source == null) { return; } this.DefaultUnitType = source.DefaultUnitType; //this.IsValueInPercent = source.IsValueInPercent; this.MinValue = source.MinValue; this.MaxValue = source.MaxValue; this.DefaultValue = source.DefaultValue; this.AllowAssignExceedLimits = source.AllowAssignExceedLimits; this.DisplayValueAlwaysAsPositive = source.DisplayValueAlwaysAsPositive; } finally { EndUpdate(); } }
static RichTextIndentEdit() { RepositoryItemRichTextIndentEdit.RegisterRichTextIndentEdit(); }