Browse Source

Improve comments

pull/11264/head
robloo 3 years ago
parent
commit
6ddef20ef7
  1. 6
      src/Avalonia.Controls.ColorPicker/ColorView/ColorView.Properties.cs
  2. 2
      src/Avalonia.Controls.ColorPicker/Helpers/Hsv.cs
  3. 2
      src/Avalonia.Controls.ColorPicker/Helpers/Rgb.cs

6
src/Avalonia.Controls.ColorPicker/ColorView/ColorView.Properties.cs

@ -504,6 +504,12 @@ namespace Avalonia.Controls
/// <summary>
/// Gets or sets the index of the selected tab/panel/page (subview).
/// </summary>
/// <remarks>
/// When using the default control theme, this property is designed to be used with the
/// <see cref="ColorViewTab"/> enum. The <see cref="ColorViewTab"/> enum defines the
/// index values of each of the three standard tabs.
/// Use like `SelectedIndex = (int)ColorViewTab.Palette`.
/// </remarks>
public int SelectedIndex
{
get => GetValue(SelectedIndexProperty);

2
src/Avalonia.Controls.ColorPicker/Helpers/Hsv.cs

@ -11,7 +11,7 @@ namespace Avalonia.Controls.Primitives
/// Contains and allows modification of Hue, Saturation and Value components.
/// </summary>
/// <remarks>
/// The is a specialized struct optimized for permanence and memory:
/// The is a specialized struct optimized for performance and memory:
/// <list type="bullet">
/// <item>This is not a read-only struct like <see cref="HsvColor"/> and allows editing the fields</item>
/// <item>Removes the alpha component unnecessary in core calculations</item>

2
src/Avalonia.Controls.ColorPicker/Helpers/Rgb.cs

@ -12,7 +12,7 @@ namespace Avalonia.Controls.Primitives
/// Contains and allows modification of Red, Green and Blue components.
/// </summary>
/// <remarks>
/// The is a specialized struct optimized for permanence and memory:
/// The is a specialized struct optimized for performance and memory:
/// <list type="bullet">
/// <item>This is not a read-only struct like <see cref="Color"/> and allows editing the fields</item>
/// <item>Removes the alpha component unnecessary in core calculations</item>

Loading…
Cancel
Save