예제 #1
0
 internal static object CreateObject(StyleInfoSubObjectIdentity identity, object store)
 {
     if (store != null)
     {
         return(new ButtonEditInfo(identity, store as ButtonEditInfoStore));
     }
     return(new ButtonEditInfo(identity));
 }
예제 #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)
 {
 }
예제 #3
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="ButtonEditInfo"/>.
 /// </param>
 [DebuggerStepThrough()] public ButtonEditInfo(StyleInfoSubObjectIdentity identity)
     : base(identity, new ButtonEditInfoStore())
 {
 }