Beispiel #1
0
        // Base class implementation of this method calls Activator.CreateInstance to achieve the same result.
        // I assume calling new directly is more efficient. Otherwise this override is obsolete.
        /// <override/>
        public override object Clone()
        {
            StyleInfoStore target = new ButtonEditInfoStore();

            CopyTo(target);
            return(target);
        }
Beispiel #2
0
 /// <summary>
 /// Initalizes a new <see cref="ButtonEditInfo"/>  object and associates it with an existing <see cref="GridStyleInfoSubObjectIdentity"/>.
 /// </summary>
 /// <param name="identity">A <see cref="GridStyleInfoSubObjectIdentity"/> that holds the indentity for this <see cref="GridFontInfo"/>.
 /// <param name="store">A <see cref="ButtonEditInfoStore"/> that holds data for this <see cref="GridFontInfo"/>.
 /// All changes in this style object will saved in the <see cref="ButtonEditInfoStore"/> object.</param>
 /// </param>
 [DebuggerStepThrough()] public ButtonEditInfo(StyleInfoSubObjectIdentity identity, ButtonEditInfoStore store)
     : base(identity, store)
 {
 }