/// <summary> /// Creates a GalleryButton control. /// </summary> /// <param name="root">The Root that this control is in</param> /// <param name="id">The ID of this control</param> /// <param name="properties">The properties of this control</param> /// <param name="dims">The dimensions of this control</param> public GalleryButton(Root root, string id, GalleryButtonProperties properties, GalleryElementDimensions dims) : base(root, id, properties) { AddDisplayMode("Large"); AddDisplayMode("Menu"); ElementDimensions = dims; }