Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// Gets or sets the maximum number of lines that can be displayed.
- /// </summary>
- [Category("Appearance")]
- [Description("Gets or sets the maximum number of lines that can be displayed.")]
- [DefaultValue(ShellBox.DefaultMaximumLines)]
- private int MaximumLines
- {
- get { return this._maximumLines; }
- set
- {
- if(value < 0)
- throw new ArgumentException("Value must not be negative.");
- this._maximumLines = value;
- this.UpdateLineCount();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement