예제 #1
0
        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();
            }
        }
예제 #3
0
 static RichTextIndentEdit()
 {
     RepositoryItemRichTextIndentEdit.RegisterRichTextIndentEdit();
 }