Changeset 737 for trunk/sources/HeuristicLab.Data/StringDataView.cs
- Timestamp:
- 11/12/08 13:10:09 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/StringDataView.cs
r2 r737 30 30 31 31 namespace HeuristicLab.Data { 32 /// <summary> 33 /// The visual representation of the class <see cref="StringData"/>, symbolizing a string value. 34 /// </summary> 32 35 public partial class StringDataView : ViewBase { 36 /// <summary> 37 /// Gets or sets the string value to represent visually. 38 /// </summary> 39 /// <remarks>Uses property <see cref="HeuristicLab.Core.ViewBase.Item"/> of base class <see cref="ViewBase"/>. 40 /// No own data storage present.</remarks> 33 41 public StringData StringData { 34 42 get { return (StringData)Item; } … … 36 44 } 37 45 46 /// <summary> 47 /// Initializes a new instance of the class <see cref="StringDataView"/>. 48 /// </summary> 38 49 public StringDataView() { 39 50 InitializeComponent(); 40 51 } 52 /// <summary> 53 /// Initializes a new instance of the class <see cref="StringDataView"/> with the given 54 /// <paramref name="stringData"/>. 55 /// <note type="caution"> No CopyConstructor! <paramref name="stringData"/> is not copied!</note> 56 /// </summary> 57 /// <param name="stringData">The string value to represent visually.</param> 41 58 public StringDataView(StringData stringData) 42 59 : this() { … … 44 61 } 45 62 63 /// <summary> 64 /// Removes the eventhandler from the underlying <see cref="StringData"/>. 65 /// </summary> 66 /// <remarks>Calls <see cref="HeuristicLab.Core.ViewBase.RemoveItemEvents"/> of base class <see cref="ViewBase"/>. 67 /// </remarks> 46 68 protected override void RemoveItemEvents() { 47 69 StringData.Changed -= new EventHandler(StringData_Changed); 48 70 base.RemoveItemEvents(); 49 71 } 72 /// <summary> 73 /// Adds an eventhandler to the underlying <see cref="StringData"/>. 74 /// </summary> 75 /// <remarks>Calls <see cref="HeuristicLab.Core.ViewBase.AddItemEvents"/> of base class <see cref="ViewBase"/>. 76 /// </remarks> 50 77 protected override void AddItemEvents() { 51 78 base.AddItemEvents(); … … 53 80 } 54 81 82 /// <summary> 83 /// Update the controls with the latest string value. 84 /// </summary> 55 85 protected override void UpdateControls() { 56 86 base.UpdateControls();
Note: See TracChangeset
for help on using the changeset viewer.