2 using System
.Collections
.Generic
;
5 namespace Microsoft
.SDK
.Samples
.VistaBridge
.Library
8 /// Implements a button that can be hosted in a task dialog.
10 public class TaskDialogButton
: TaskDialogButtonBase
13 /// Creates a new instance of this class.
15 public TaskDialogButton() { }
18 /// Creates a new instance of this class with the specified property settings.
20 /// <param name="name">The name of the button.</param>
21 /// <param name="text">The button label.</param>
22 public TaskDialogButton(string name
, string text
) : base(name
, text
) { }
24 private bool showElevationIcon
;
26 /// Gets or sets a value that controls whether the elevation icon is displayed.
28 public bool ShowElevationIcon
30 get { return showElevationIcon; }
33 CheckPropertyChangeAllowed("ShowElevationIcon");
34 showElevationIcon
= value;
35 ApplyPropertyChange("ShowElevationIcon");