diff --git a/Directory.Packages.props b/Directory.Packages.props
index c3b6a6c54..00ada12ad 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -7,7 +7,7 @@
-
+
diff --git a/src/AtomUI.Controls.DataGrid/AtomUI.Controls.DataGrid.csproj b/src/AtomUI.Controls.DataGrid/AtomUI.Controls.DataGrid.csproj
index ac71e10b1..2af5272b0 100644
--- a/src/AtomUI.Controls.DataGrid/AtomUI.Controls.DataGrid.csproj
+++ b/src/AtomUI.Controls.DataGrid/AtomUI.Controls.DataGrid.csproj
@@ -19,5 +19,9 @@
+
+
+
+
diff --git a/src/AtomUI.Controls.DataGrid/Peers/DataGridAutomationPeer.cs b/src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridAutomationPeer.cs
similarity index 100%
rename from src/AtomUI.Controls.DataGrid/Peers/DataGridAutomationPeer.cs
rename to src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridAutomationPeer.cs
diff --git a/src/AtomUI.Controls.DataGrid/Peers/DataGridCellAutomationPeer.cs b/src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridCellAutomationPeer.cs
similarity index 100%
rename from src/AtomUI.Controls.DataGrid/Peers/DataGridCellAutomationPeer.cs
rename to src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridCellAutomationPeer.cs
diff --git a/src/AtomUI.Controls.DataGrid/Peers/DataGridColumnHeaderAutomationPeer.cs b/src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridColumnHeaderAutomationPeer.cs
similarity index 100%
rename from src/AtomUI.Controls.DataGrid/Peers/DataGridColumnHeaderAutomationPeer.cs
rename to src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridColumnHeaderAutomationPeer.cs
diff --git a/src/AtomUI.Controls.DataGrid/Peers/DataGridColumnHeadersPresenterAutomationPeer.cs b/src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridColumnHeadersPresenterAutomationPeer.cs
similarity index 100%
rename from src/AtomUI.Controls.DataGrid/Peers/DataGridColumnHeadersPresenterAutomationPeer.cs
rename to src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridColumnHeadersPresenterAutomationPeer.cs
diff --git a/src/AtomUI.Controls.DataGrid/Peers/DataGridDetailsPresenterAutomationPeer.cs b/src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridDetailsPresenterAutomationPeer.cs
similarity index 100%
rename from src/AtomUI.Controls.DataGrid/Peers/DataGridDetailsPresenterAutomationPeer.cs
rename to src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridDetailsPresenterAutomationPeer.cs
diff --git a/src/AtomUI.Controls.DataGrid/Peers/DataGridRowAutomationPeer.cs b/src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridRowAutomationPeer.cs
similarity index 100%
rename from src/AtomUI.Controls.DataGrid/Peers/DataGridRowAutomationPeer.cs
rename to src/AtomUI.Controls.DataGrid/Automation/Peers/DataGridRowAutomationPeer.cs
diff --git a/src/AtomUI.Controls.DataGrid/Colum/DataGridBoundColumn.cs b/src/AtomUI.Controls.DataGrid/Colum/DataGridBoundColumn.cs
index 171e79bd4..9583c7713 100644
--- a/src/AtomUI.Controls.DataGrid/Colum/DataGridBoundColumn.cs
+++ b/src/AtomUI.Controls.DataGrid/Colum/DataGridBoundColumn.cs
@@ -11,7 +11,7 @@ using Avalonia.Metadata;
namespace AtomUI.Controls;
///
-/// Represents a column that can
+/// Represents a column that can
/// bind to a property in the grid's data source.
///
public abstract class DataGridBoundColumn : DataGridColumn
diff --git a/src/AtomUI.Controls.DataGrid/Colum/DataGridColumn.cs b/src/AtomUI.Controls.DataGrid/Colum/DataGridColumn.cs
index f954f733e..46b236722 100644
--- a/src/AtomUI.Controls.DataGrid/Colum/DataGridColumn.cs
+++ b/src/AtomUI.Controls.DataGrid/Colum/DataGridColumn.cs
@@ -48,7 +48,7 @@ public abstract class DataGridColumn : AvaloniaObject
public event EventHandler? HeaderPointerReleased;
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
protected internal DataGridColumn(DataGrid owningGrid)
{
@@ -59,7 +59,7 @@ public abstract class DataGridColumn : AvaloniaObject
}
///
- /// Gets the control that contains this column.
+ /// Gets the control that contains this column.
///
protected internal DataGrid? OwningGrid { get; internal set; }
@@ -224,7 +224,7 @@ public abstract class DataGridColumn : AvaloniaObject
/// dragging the column header.
///
///
- /// true if the user can drag the column header to a new position; otherwise, false. The default is the current property value.
+ /// true if the user can drag the column header to a new position; otherwise, false. The default is the current property value.
///
public bool CanUserReorder
{
@@ -238,7 +238,7 @@ public abstract class DataGridColumn : AvaloniaObject
/// Gets or sets a value that indicates whether the user can adjust the column width using the mouse.
///
///
- /// true if the user can resize the column; false if the user cannot resize the column. The default is the current property value.
+ /// true if the user can resize the column; false if the user cannot resize the column. The default is the current property value.
///
public bool CanUserResize
{
@@ -257,7 +257,7 @@ public abstract class DataGridColumn : AvaloniaObject
/// Gets or sets a value that indicates whether the user can sort the column by clicking the column header.
///
///
- /// true if the user can sort the column; false if the user cannot sort the column. The default is the current property value.
+ /// true if the user can sort the column; false if the user cannot sort the column. The default is the current property value.
///
public bool CanUserSort
{
@@ -291,20 +291,20 @@ public abstract class DataGridColumn : AvaloniaObject
}
///
- /// Gets or sets the display position of the column relative to the other columns in the .
+ /// Gets or sets the display position of the column relative to the other columns in the .
///
///
- /// The zero-based position of the column as it is displayed in the associated . The default is the index of the corresponding in the collection.
+ /// The zero-based position of the column as it is displayed in the associated . The default is the index of the corresponding in the collection.
///
///
/// When setting this property, the specified value is less than -1 or equal to .
///
/// -or-
///
- /// When setting this property on a column in a , the specified value is less than zero or greater than or equal to the number of columns in the .
+ /// When setting this property on a column in a , the specified value is less than zero or greater than or equal to the number of columns in the .
///
///
- /// When setting this property, the is already making adjustments. For example, this exception is thrown when you attempt to set in a event handler.
+ /// When setting this property, the is already making adjustments. For example, this exception is thrown when you attempt to set in a event handler.
///
/// -or-
///
@@ -668,7 +668,7 @@ public abstract class DataGridColumn : AvaloniaObject
}
///
- /// When overridden in a derived class, gets an editing element that is bound to the column's property value.
+ /// When overridden in a derived class, gets an editing element that is bound to the column's property value.
///
///
/// The cell that will contain the generated element.
@@ -678,13 +678,13 @@ public abstract class DataGridColumn : AvaloniaObject
///
/// When the method returns, contains the applied binding.
///
- /// A new editing element that is bound to the column's property value.
+ /// A new editing element that is bound to the column's property value.
///
protected abstract Control? GenerateEditingElement(DataGridCell cell, object dataItem, out ICellEditBinding? binding);
///
/// When overridden in a derived class, gets a read-only element that is bound to the column's
- /// property value.
+ /// property value.
///
///
/// The cell that will contain the generated element.
@@ -693,7 +693,7 @@ public abstract class DataGridColumn : AvaloniaObject
/// The data item represented by the row that contains the intended cell.
///
///
- /// A new, read-only element that is bound to the column's property value.
+ /// A new, read-only element that is bound to the column's property value.
///
protected abstract Control? GenerateElement(DataGridCell cell, object dataItem);
diff --git a/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeader.cs b/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeader.cs
index fde58213f..35145ca10 100644
--- a/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeader.cs
+++ b/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeader.cs
@@ -18,7 +18,7 @@ using Avalonia.Utilities;
namespace AtomUI.Controls;
///
-/// Represents an individual column header.
+/// Represents an individual column header.
///
[PseudoClasses(StdPseudoClass.DragIndicator, StdPseudoClass.Pressed, SortAscendingPC, SortDescendingPC)]
public class DataGridColumnHeader : ContentControl
diff --git a/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeadersPresenter.cs b/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeadersPresenter.cs
index 0e15dcdf4..56a889d47 100644
--- a/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeadersPresenter.cs
+++ b/src/AtomUI.Controls.DataGrid/Colum/DataGridColumnHeadersPresenter.cs
@@ -10,7 +10,7 @@ using Avalonia.Media;
namespace AtomUI.Controls;
///
-/// Used within the template of a to specify the
+/// Used within the template of a to specify the
/// location in the control's visual tree where the column headers are to be added.
///
public sealed class DataGridColumnHeadersPresenter : Panel, IChildIndexProvider
diff --git a/src/AtomUI.Controls.DataGrid/Colum/DataGridTextColumn.cs b/src/AtomUI.Controls.DataGrid/Colum/DataGridTextColumn.cs
index 1cfe08863..12e2314ad 100644
--- a/src/AtomUI.Controls.DataGrid/Colum/DataGridTextColumn.cs
+++ b/src/AtomUI.Controls.DataGrid/Colum/DataGridTextColumn.cs
@@ -11,7 +11,7 @@ using Avalonia.Styling;
namespace AtomUI.Controls;
///
-/// Represents a column that hosts textual content in its cells.
+/// Represents a column that hosts textual content in its cells.
///
public class DataGridTextColumn : DataGridBoundColumn
{
@@ -19,7 +19,7 @@ public class DataGridTextColumn : DataGridBoundColumn
private readonly Lazy _cellTextBlockTheme;
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
public DataGridTextColumn(DataGrid ownerGrid)
: base(ownerGrid)
@@ -152,11 +152,11 @@ public class DataGridTextColumn : DataGridBoundColumn
}
///
- /// Gets a control that is bound to the column's property value.
+ /// Gets a control that is bound to the column's property value.
///
/// The cell that will contain the generated element.
/// The data item represented by the row that contains the intended cell.
- /// A new control that is bound to the column's property value.
+ /// A new control that is bound to the column's property value.
protected override Control GenerateEditingElementDirect(DataGridCell cell, object? dataItem)
{
var textBox = new TextBox
@@ -174,11 +174,11 @@ public class DataGridTextColumn : DataGridBoundColumn
}
///
- /// Gets a read-only element that is bound to the column's property value.
+ /// Gets a read-only element that is bound to the column's property value.
///
/// The cell that will contain the generated element.
/// The data item represented by the row that contains the intended cell.
- /// A new, read-only element that is bound to the column's property value.
+ /// A new, read-only element that is bound to the column's property value.
protected override Control GenerateElement(DataGridCell cell, object dataItem)
{
var textBlockElement = new TextBlock
diff --git a/src/AtomUI.Controls.DataGrid/DataGrid.Rows.cs b/src/AtomUI.Controls.DataGrid/DataGrid.Rows.cs
index f3d83ec8f..35f7d58ad 100644
--- a/src/AtomUI.Controls.DataGrid/DataGrid.Rows.cs
+++ b/src/AtomUI.Controls.DataGrid/DataGrid.Rows.cs
@@ -3142,7 +3142,7 @@ public partial class DataGrid
}
///
- /// Raises the event.
+ /// Raises the event.
///
/// The event data.
protected internal virtual void OnRowDetailsVisibilityChanged(DataGridRowDetailsEventArgs e)
diff --git a/src/AtomUI.Controls.DataGrid/DataGrid.cs b/src/AtomUI.Controls.DataGrid/DataGrid.cs
index 026c70fe6..b67f766e5 100644
--- a/src/AtomUI.Controls.DataGrid/DataGrid.cs
+++ b/src/AtomUI.Controls.DataGrid/DataGrid.cs
@@ -458,7 +458,7 @@ public partial class DataGrid : TemplatedControl
}
///
- /// Gets or sets the maximum width of columns in the .
+ /// Gets or sets the maximum width of columns in the .
///
public double MaxColumnWidth
{
@@ -478,7 +478,7 @@ public partial class DataGrid : TemplatedControl
}
///
- /// Gets or sets the minimum width of columns in the .
+ /// Gets or sets the minimum width of columns in the .
///
public double MinColumnWidth
{
@@ -647,7 +647,7 @@ public partial class DataGrid : TemplatedControl
///
/// Gets or sets a value that indicates whether columns are created
- /// automatically when the property is set.
+ /// automatically when the property is set.
///
public bool AutoGenerateColumns
{
@@ -769,7 +769,7 @@ public partial class DataGrid : TemplatedControl
}
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
public DataGrid()
{
@@ -1279,8 +1279,8 @@ public partial class DataGrid : TemplatedControl
///
/// Occurs one time for each public, non-static property in the bound data type when the
- /// property is changed and the
- /// property is true.
+ /// property is changed and the
+ /// property is true.
///
public event EventHandler? AutoGeneratingColumn;
@@ -1305,7 +1305,7 @@ public partial class DataGrid : TemplatedControl
public event EventHandler? CellPointerPressed;
///
- /// Occurs when the
+ /// Occurs when the
/// property of a column changes.
///
public event EventHandler? ColumnDisplayIndexChanged;
@@ -1328,13 +1328,13 @@ public partial class DataGrid : TemplatedControl
public event EventHandler? CurrentCellChanged;
///
- /// Occurs after a
+ /// Occurs after a
/// is instantiated, so that you can customize it before it is used.
///
public event EventHandler? LoadingRow;
///
- /// Occurs when a cell in a enters editing mode.
+ /// Occurs when a cell in a enters editing mode.
///
///
public event EventHandler? PreparingCellForEdit;
@@ -1353,8 +1353,8 @@ public partial class DataGrid : TemplatedControl
RoutedEvent.Register(nameof(SelectionChanged), RoutingStrategies.Bubble);
///
- /// Occurs when the or
- /// property value changes.
+ /// Occurs when the or
+ /// property value changes.
///
public event EventHandler? SelectionChanged
{
@@ -1368,7 +1368,7 @@ public partial class DataGrid : TemplatedControl
public event EventHandler? Sorting;
///
- /// Occurs when a
+ /// Occurs when a
/// object becomes available for reuse.
///
public event EventHandler? UnloadingRow;
@@ -1380,7 +1380,7 @@ public partial class DataGrid : TemplatedControl
public event EventHandler? LoadingRowDetails;
///
- /// Occurs when the
+ /// Occurs when the
/// property value changes.
///
public event EventHandler? RowDetailsVisibilityChanged;
@@ -2003,13 +2003,13 @@ public partial class DataGrid : TemplatedControl
}
///
- /// Arranges the content of the .
+ /// Arranges the content of the .
///
///
/// The final area within the parent that this element should use to arrange itself and its children.
///
///
- /// The actual size used by the .
+ /// The actual size used by the .
///
protected override Size ArrangeOverride(Size finalSize)
{
@@ -2029,12 +2029,12 @@ public partial class DataGrid : TemplatedControl
}
///
- /// Measures the children of a to prepare for
+ /// Measures the children of a to prepare for
/// arranging them during the
- /// pass.
+ /// pass.
///
///
- /// The size that the determines it needs during layout, based on its calculations of child object allocated sizes.
+ /// The size that the determines it needs during layout, based on its calculations of child object allocated sizes.
///
///
/// The available size that this element can give to child elements. Indicates an upper limit that
diff --git a/src/AtomUI.Controls.DataGrid/DataGridLength.cs b/src/AtomUI.Controls.DataGrid/DataGridLength.cs
index d6113b122..264ff98bc 100644
--- a/src/AtomUI.Controls.DataGrid/DataGridLength.cs
+++ b/src/AtomUI.Controls.DataGrid/DataGridLength.cs
@@ -13,7 +13,7 @@ public enum DataGridLengthUnitType
}
///
-/// Represents the lengths of elements within the control.
+/// Represents the lengths of elements within the control.
///
[TypeConverter(typeof(DataGridError.DataGridLengthConverter))]
public struct DataGridLength : IEquatable
@@ -37,7 +37,7 @@ public struct DataGridLength : IEquatable
internal const double DefaultValue = 1.0;
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
///
public DataGridLength(double value)
@@ -136,10 +136,10 @@ public struct DataGridLength : IEquatable
}
///
- /// Gets a structure that represents the standard automatic sizing mode.
+ /// Gets a structure that represents the standard automatic sizing mode.
///
///
- /// A structure that represents the standard automatic sizing mode.
+ /// A structure that represents the standard automatic sizing mode.
///
public static DataGridLength Auto => _auto;
@@ -182,31 +182,31 @@ public struct DataGridLength : IEquatable
public bool IsStar => _unitType == DataGridLengthUnitType.Star;
///
- /// Gets a structure that represents the cell-based automatic sizing mode.
+ /// Gets a structure that represents the cell-based automatic sizing mode.
///
///
- /// A structure that represents the cell-based automatic sizing mode.
+ /// A structure that represents the cell-based automatic sizing mode.
///
public static DataGridLength SizeToCells => _sizeToCells;
///
- /// Gets a structure that represents the header-based automatic sizing mode.
+ /// Gets a structure that represents the header-based automatic sizing mode.
///
///
- /// A structure that represents the header-based automatic sizing mode.
+ /// A structure that represents the header-based automatic sizing mode.
///
public static DataGridLength SizeToHeader => _sizeToHeader;
///
- /// Gets the that represents the current sizing mode.
+ /// Gets the that represents the current sizing mode.
///
public DataGridLengthUnitType UnitType => _unitType;
///
- /// Gets the absolute value of the in pixels.
+ /// Gets the absolute value of the in pixels.
///
///
- /// The absolute value of the in pixels.
+ /// The absolute value of the in pixels.
///
public double Value => _unitValue;
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs.cs
deleted file mode 100644
index 6ae4cbe12..000000000
--- a/src/AtomUI.Controls.DataGrid/EventArgs.cs
+++ /dev/null
@@ -1,439 +0,0 @@
-using System.ComponentModel;
-using System.Diagnostics;
-using Avalonia.Controls;
-using Avalonia.Input;
-using Avalonia.Interactivity;
-
-namespace AtomUI.Controls;
-
-///
-/// Provides data for the event.
-///
-public class DataGridAutoGeneratingColumnEventArgs : CancelEventArgs
-{
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- /// The name of the property bound to the generated column.
- ///
- ///
- /// The of the property bound to the generated column.
- ///
- ///
- /// The generated column.
- ///
- public DataGridAutoGeneratingColumnEventArgs(string propertyName, Type propertyType, DataGridColumn column)
- {
- Column = column;
- PropertyName = propertyName;
- PropertyType = propertyType;
- }
-
- ///
- /// Gets the generated column.
- ///
- public DataGridColumn Column { get; set; }
-
- ///
- /// Gets the name of the property bound to the generated column.
- ///
- public string PropertyName { get; private set; }
-
- ///
- /// Gets the of the property bound to the generated column.
- ///
- public Type PropertyType { get; private set; }
-}
-
-///
-/// Provides data for the event.
-///
-public class DataGridBeginningEditEventArgs : CancelEventArgs
-{
- ///
- /// Initializes a new instance of the
- /// class.
- ///
- ///
- /// The column that contains the cell to be edited.
- ///
- ///
- /// The row that contains the cell to be edited.
- ///
- ///
- /// Information about the user gesture that caused the cell to enter edit mode.
- ///
- public DataGridBeginningEditEventArgs(DataGridColumn column,
- DataGridRow row,
- RoutedEventArgs? editingEventArgs)
- {
- Column = column;
- Row = row;
- EditingEventArgs = editingEventArgs;
- }
-
- ///
- /// Gets the column that contains the cell to be edited.
- ///
- public DataGridColumn Column { get; private set; }
-
- ///
- /// Gets information about the user gesture that caused the cell to enter edit mode.
- ///
- public RoutedEventArgs? EditingEventArgs { get; private set; }
-
- ///
- /// Gets the row that contains the cell to be edited.
- ///
- public DataGridRow Row { get; private set; }
-}
-
-///
-/// Provides information just after a cell has exited editing mode.
-///
-public class DataGridCellEditEndedEventArgs : EventArgs
-{
- ///
- /// Instantiates a new instance of this class.
- ///
- /// The column of the cell that has just exited edit mode.
- /// The row container of the cell container that has just exited edit mode.
- /// The editing action that has been taken.
- public DataGridCellEditEndedEventArgs(DataGridColumn column, DataGridRow row, DataGridEditAction editAction)
- {
- Column = column;
- Row = row;
- EditAction = editAction;
- }
-
- ///
- /// The column of the cell that has just exited edit mode.
- ///
- public DataGridColumn Column { get; private set; }
-
- ///
- /// The edit action taken when leaving edit mode.
- ///
- public DataGridEditAction EditAction { get; private set; }
-
- ///
- /// The row container of the cell container that has just exited edit mode.
- ///
- public DataGridRow Row { get; private set; }
-}
-
-///
-/// Provides information after the cell has been pressed.
-///
-public class DataGridCellPointerPressedEventArgs : EventArgs
-{
- ///
- /// Instantiates a new instance of this class.
- ///
- /// The cell that has been pressed.
- /// The row container of the cell that has been pressed.
- /// The column of the cell that has been pressed.
- /// The pointer action that has been taken.
- public DataGridCellPointerPressedEventArgs(DataGridCell cell,
- DataGridRow row,
- DataGridColumn column,
- PointerPressedEventArgs e)
- {
- Cell = cell;
- Row = row;
- Column = column;
- PointerPressedEventArgs = e;
- }
-
- ///
- /// The cell that has been pressed.
- ///
- public DataGridCell Cell { get; }
-
- ///
- /// The row container of the cell that has been pressed.
- ///
- public DataGridRow Row { get; }
-
- ///
- /// The column of the cell that has been pressed.
- ///
- public DataGridColumn Column { get; }
-
- ///
- /// The pointer action that has been taken.
- ///
- public PointerPressedEventArgs PointerPressedEventArgs { get; }
-}
-
-///
-/// Provides information just before a cell exits editing mode.
-///
-public class DataGridCellEditEndingEventArgs : CancelEventArgs
-{
- ///
- /// Instantiates a new instance of this class.
- ///
- /// The column of the cell that is about to exit edit mode.
- /// The row container of the cell container that is about to exit edit mode.
- /// The editing element within the cell.
- /// The editing action that will be taken.
- public DataGridCellEditEndingEventArgs(DataGridColumn column,
- DataGridRow row,
- Control editingElement,
- DataGridEditAction editAction)
- {
- Column = column;
- Row = row;
- EditingElement = editingElement;
- EditAction = editAction;
- }
-
- ///
- /// The column of the cell that is about to exit edit mode.
- ///
- public DataGridColumn Column { get; private set; }
-
- ///
- /// The edit action to take when leaving edit mode.
- ///
- public DataGridEditAction EditAction { get; private set; }
-
- ///
- /// The editing element within the cell.
- ///
- public Control EditingElement { get; private set; }
-
- ///
- /// The row container of the cell container that is about to exit edit mode.
- ///
- public DataGridRow Row { get; private set; }
-}
-
-internal class DataGridCellEventArgs : EventArgs
-{
- internal DataGridCellEventArgs(DataGridCell dataGridCell)
- {
- Debug.Assert(dataGridCell != null);
- this.Cell = dataGridCell;
- }
-
- internal DataGridCell Cell { get; private set; }
-}
-
-///
-/// Provides data for column-related events.
-///
-public class DataGridColumnEventArgs : HandledEventArgs
-{
- ///
- /// Initializes a new instance of the class.
- ///
- /// The column that the event occurs for.
- public DataGridColumnEventArgs(DataGridColumn column)
- {
- Column = column ?? throw new ArgumentNullException(nameof(column));
- }
-
- ///
- /// Gets the column that the event occurs for.
- ///
- public DataGridColumn Column { get; private set; }
-}
-
-///
-/// Provides data for the event.
-///
-public class DataGridColumnReorderingEventArgs : CancelEventArgs
-{
- ///
- /// Initializes a new instance of the class.
- ///
- ///
- public DataGridColumnReorderingEventArgs(DataGridColumn dataGridColumn)
- {
- Column = dataGridColumn;
- }
-
- ///
- /// The column being moved.
- ///
- public DataGridColumn Column { get; private set; }
-
- ///
- /// The popup indicator displayed while dragging. If null and Handled = true, then do not display a tooltip.
- ///
- public Control? DragIndicator { get; set; }
-
- ///
- /// UIElement to display at the insertion position. If null and Handled = true, then do not display an insertion indicator.
- ///
- public Control? DropLocationIndicator { get; set; }
-}
-
-///
-/// Provides data for row-related events.
-///
-public class DataGridRowEventArgs : EventArgs
-{
- ///
- /// Initializes a new instance of the class.
- ///
- /// The row that the event occurs for.
- public DataGridRowEventArgs(DataGridRow dataGridRow)
- {
- this.Row = dataGridRow;
- }
-
- ///
- /// Gets the row that the event occurs for.
- ///
- public DataGridRow Row { get; private set; }
-}
-
-///
-/// Provides information just before a row exits editing mode.
-///
-public class DataGridRowEditEndingEventArgs : CancelEventArgs
-{
- ///
- /// Instantiates a new instance of this class.
- ///
- /// The row container of the cell container that is about to exit edit mode.
- /// The editing action that will be taken.
- public DataGridRowEditEndingEventArgs(DataGridRow row, DataGridEditAction editAction)
- {
- this.Row = row;
- this.EditAction = editAction;
- }
-
- ///
- /// The editing action that will be taken.
- ///
- public DataGridEditAction EditAction { get; private set; }
-
- ///
- /// The row container of the cell container that is about to exit edit mode.
- ///
- public DataGridRow Row { get; private set; }
-}
-
-///
-/// Provides information just after a row has exited edit mode.
-///
-public class DataGridRowEditEndedEventArgs : EventArgs
-{
- ///
- /// Instantiates a new instance of this class.
- ///
- /// The row container of the cell container that has just exited edit mode.
- /// The editing action that has been taken.
- public DataGridRowEditEndedEventArgs(DataGridRow row, DataGridEditAction editAction)
- {
- Row = row;
- EditAction = editAction;
- }
-
- ///
- /// The editing action that has been taken.
- ///
- public DataGridEditAction EditAction { get; private set; }
-
- ///
- /// The row container of the cell container that has just exited edit mode.
- ///
- public DataGridRow Row { get; private set; }
-}
-
-///
-/// Provides data for the event.
-///
-public class DataGridPreparingCellForEditEventArgs : EventArgs
-{
- ///
- /// Initializes a new instance of the class.
- ///
- /// The column that contains the cell to be edited.
- /// The row that contains the cell to be edited.
- /// Information about the user gesture that caused the cell to enter edit mode.
- /// The element that the column displays for a cell in editing mode.
- public DataGridPreparingCellForEditEventArgs(DataGridColumn column,
- DataGridRow row,
- RoutedEventArgs editingEventArgs,
- Control editingElement)
- {
- Column = column;
- Row = row;
- EditingEventArgs = editingEventArgs;
- EditingElement = editingElement;
- }
-
- ///
- /// Gets the column that contains the cell to be edited.
- ///
- public DataGridColumn Column { get; private set; }
-
- ///
- /// Gets the element that the column displays for a cell in editing mode.
- ///
- public Control EditingElement { get; private set; }
-
- ///
- /// Gets information about the user gesture that caused the cell to enter edit mode.
- ///
- public RoutedEventArgs EditingEventArgs { get; private set; }
-
- ///
- /// Gets the row that contains the cell to be edited.
- ///
- public DataGridRow Row { get; private set; }
-}
-
-///
-/// EventArgs used for the DataGrid's LoadingRowGroup and UnloadingRowGroup events
-///
-public class DataGridRowGroupHeaderEventArgs : EventArgs
-{
- ///
- /// Constructs a DataGridRowGroupHeaderEventArgs instance
- ///
- ///
- public DataGridRowGroupHeaderEventArgs(DataGridRowGroupHeader rowGroupHeader)
- {
- RowGroupHeader = rowGroupHeader;
- }
-
- ///
- /// DataGridRowGroupHeader associated with this instance
- ///
- public DataGridRowGroupHeader RowGroupHeader { get; private set; }
-}
-
-///
-/// Provides data for the , ,
-/// and events.
-///
-public class DataGridRowDetailsEventArgs : EventArgs
-{
- ///
- /// Initializes a new instance of the class.
- ///
- /// The row that the event occurs for.
- /// The row details section as a framework element.
- public DataGridRowDetailsEventArgs(DataGridRow row, Control detailsElement)
- {
- Row = row;
- DetailsElement = detailsElement;
- }
-
- ///
- /// Gets the row details section as a framework element.
- ///
- public Control DetailsElement { get; private set; }
-
- ///
- /// Gets the row that the event occurs for.
- ///
- public DataGridRow Row { get; private set; }
-}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridAutoGeneratingColumnEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridAutoGeneratingColumnEventArgs.cs
new file mode 100644
index 000000000..2bf9815b5
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridAutoGeneratingColumnEventArgs.cs
@@ -0,0 +1,43 @@
+using System.ComponentModel;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides data for the event.
+///
+public class DataGridAutoGeneratingColumnEventArgs : CancelEventArgs
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// The name of the property bound to the generated column.
+ ///
+ ///
+ /// The of the property bound to the generated column.
+ ///
+ ///
+ /// The generated column.
+ ///
+ public DataGridAutoGeneratingColumnEventArgs(string propertyName, Type propertyType, DataGridColumn column)
+ {
+ Column = column;
+ PropertyName = propertyName;
+ PropertyType = propertyType;
+ }
+
+ ///
+ /// Gets the generated column.
+ ///
+ public DataGridColumn Column { get; set; }
+
+ ///
+ /// Gets the name of the property bound to the generated column.
+ ///
+ public string PropertyName { get; private set; }
+
+ ///
+ /// Gets the of the property bound to the generated column.
+ ///
+ public Type PropertyType { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridBeginningEditEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridBeginningEditEventArgs.cs
new file mode 100644
index 000000000..742f1cd1e
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridBeginningEditEventArgs.cs
@@ -0,0 +1,47 @@
+using System.ComponentModel;
+using Avalonia.Interactivity;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides data for the event.
+///
+public class DataGridBeginningEditEventArgs : CancelEventArgs
+{
+ ///
+ /// Initializes a new instance of the
+ /// class.
+ ///
+ ///
+ /// The column that contains the cell to be edited.
+ ///
+ ///
+ /// The row that contains the cell to be edited.
+ ///
+ ///
+ /// Information about the user gesture that caused the cell to enter edit mode.
+ ///
+ public DataGridBeginningEditEventArgs(DataGridColumn column,
+ DataGridRow row,
+ RoutedEventArgs? editingEventArgs)
+ {
+ Column = column;
+ Row = row;
+ EditingEventArgs = editingEventArgs;
+ }
+
+ ///
+ /// Gets the column that contains the cell to be edited.
+ ///
+ public DataGridColumn Column { get; private set; }
+
+ ///
+ /// Gets information about the user gesture that caused the cell to enter edit mode.
+ ///
+ public RoutedEventArgs? EditingEventArgs { get; private set; }
+
+ ///
+ /// Gets the row that contains the cell to be edited.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEditEndedEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEditEndedEventArgs.cs
new file mode 100644
index 000000000..9389bb24c
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEditEndedEventArgs.cs
@@ -0,0 +1,35 @@
+namespace AtomUI.Controls;
+
+///
+/// Provides information just after a cell has exited editing mode.
+///
+public class DataGridCellEditEndedEventArgs : EventArgs
+{
+ ///
+ /// Instantiates a new instance of this class.
+ ///
+ /// The column of the cell that has just exited edit mode.
+ /// The row container of the cell container that has just exited edit mode.
+ /// The editing action that has been taken.
+ public DataGridCellEditEndedEventArgs(DataGridColumn column, DataGridRow row, DataGridEditAction editAction)
+ {
+ Column = column;
+ Row = row;
+ EditAction = editAction;
+ }
+
+ ///
+ /// The column of the cell that has just exited edit mode.
+ ///
+ public DataGridColumn Column { get; private set; }
+
+ ///
+ /// The edit action taken when leaving edit mode.
+ ///
+ public DataGridEditAction EditAction { get; private set; }
+
+ ///
+ /// The row container of the cell container that has just exited edit mode.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEditEndingEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEditEndingEventArgs.cs
new file mode 100644
index 000000000..44e617621
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEditEndingEventArgs.cs
@@ -0,0 +1,48 @@
+using System.ComponentModel;
+using Avalonia.Controls;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides information just before a cell exits editing mode.
+///
+public class DataGridCellEditEndingEventArgs : CancelEventArgs
+{
+ ///
+ /// Instantiates a new instance of this class.
+ ///
+ /// The column of the cell that is about to exit edit mode.
+ /// The row container of the cell container that is about to exit edit mode.
+ /// The editing element within the cell.
+ /// The editing action that will be taken.
+ public DataGridCellEditEndingEventArgs(DataGridColumn column,
+ DataGridRow row,
+ Control editingElement,
+ DataGridEditAction editAction)
+ {
+ Column = column;
+ Row = row;
+ EditingElement = editingElement;
+ EditAction = editAction;
+ }
+
+ ///
+ /// The column of the cell that is about to exit edit mode.
+ ///
+ public DataGridColumn Column { get; private set; }
+
+ ///
+ /// The edit action to take when leaving edit mode.
+ ///
+ public DataGridEditAction EditAction { get; private set; }
+
+ ///
+ /// The editing element within the cell.
+ ///
+ public Control EditingElement { get; private set; }
+
+ ///
+ /// The row container of the cell container that is about to exit edit mode.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEventArgs.cs
new file mode 100644
index 000000000..a5eef66e8
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellEventArgs.cs
@@ -0,0 +1,14 @@
+using System.Diagnostics;
+
+namespace AtomUI.Controls;
+
+internal class DataGridCellEventArgs : EventArgs
+{
+ internal DataGridCellEventArgs(DataGridCell dataGridCell)
+ {
+ Debug.Assert(dataGridCell != null);
+ Cell = dataGridCell;
+ }
+
+ internal DataGridCell Cell { get; private set; }
+}
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellPointerPressedEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellPointerPressedEventArgs.cs
new file mode 100644
index 000000000..32eaf8444
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridCellPointerPressedEventArgs.cs
@@ -0,0 +1,47 @@
+using Avalonia.Input;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides information after the cell has been pressed.
+///
+public class DataGridCellPointerPressedEventArgs : EventArgs
+{
+ ///
+ /// Instantiates a new instance of this class.
+ ///
+ /// The cell that has been pressed.
+ /// The row container of the cell that has been pressed.
+ /// The column of the cell that has been pressed.
+ /// The pointer action that has been taken.
+ public DataGridCellPointerPressedEventArgs(DataGridCell cell,
+ DataGridRow row,
+ DataGridColumn column,
+ PointerPressedEventArgs e)
+ {
+ Cell = cell;
+ Row = row;
+ Column = column;
+ PointerPressedEventArgs = e;
+ }
+
+ ///
+ /// The cell that has been pressed.
+ ///
+ public DataGridCell Cell { get; }
+
+ ///
+ /// The row container of the cell that has been pressed.
+ ///
+ public DataGridRow Row { get; }
+
+ ///
+ /// The column of the cell that has been pressed.
+ ///
+ public DataGridColumn Column { get; }
+
+ ///
+ /// The pointer action that has been taken.
+ ///
+ public PointerPressedEventArgs PointerPressedEventArgs { get; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridColumnEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridColumnEventArgs.cs
new file mode 100644
index 000000000..9f588a089
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridColumnEventArgs.cs
@@ -0,0 +1,23 @@
+using System.ComponentModel;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides data for column-related events.
+///
+public class DataGridColumnEventArgs : HandledEventArgs
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The column that the event occurs for.
+ public DataGridColumnEventArgs(DataGridColumn column)
+ {
+ Column = column ?? throw new ArgumentNullException(nameof(column));
+ }
+
+ ///
+ /// Gets the column that the event occurs for.
+ ///
+ public DataGridColumn Column { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridColumnReorderingEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridColumnReorderingEventArgs.cs
new file mode 100644
index 000000000..b280ec631
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridColumnReorderingEventArgs.cs
@@ -0,0 +1,34 @@
+using System.ComponentModel;
+using Avalonia.Controls;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides data for the event.
+///
+public class DataGridColumnReorderingEventArgs : CancelEventArgs
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ public DataGridColumnReorderingEventArgs(DataGridColumn dataGridColumn)
+ {
+ Column = dataGridColumn;
+ }
+
+ ///
+ /// The column being moved.
+ ///
+ public DataGridColumn Column { get; private set; }
+
+ ///
+ /// The popup indicator displayed while dragging. If null and Handled = true, then do not display a tooltip.
+ ///
+ public Control? DragIndicator { get; set; }
+
+ ///
+ /// UIElement to display at the insertion position. If null and Handled = true, then do not display an insertion indicator.
+ ///
+ public Control? DropLocationIndicator { get; set; }
+}
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridPreparingCellForEditEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridPreparingCellForEditEventArgs.cs
new file mode 100644
index 000000000..a88af9da7
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridPreparingCellForEditEventArgs.cs
@@ -0,0 +1,48 @@
+using Avalonia.Controls;
+using Avalonia.Interactivity;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides data for the event.
+///
+public class DataGridPreparingCellForEditEventArgs : EventArgs
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The column that contains the cell to be edited.
+ /// The row that contains the cell to be edited.
+ /// Information about the user gesture that caused the cell to enter edit mode.
+ /// The element that the column displays for a cell in editing mode.
+ public DataGridPreparingCellForEditEventArgs(DataGridColumn column,
+ DataGridRow row,
+ RoutedEventArgs editingEventArgs,
+ Control editingElement)
+ {
+ Column = column;
+ Row = row;
+ EditingEventArgs = editingEventArgs;
+ EditingElement = editingElement;
+ }
+
+ ///
+ /// Gets the column that contains the cell to be edited.
+ ///
+ public DataGridColumn Column { get; private set; }
+
+ ///
+ /// Gets the element that the column displays for a cell in editing mode.
+ ///
+ public Control EditingElement { get; private set; }
+
+ ///
+ /// Gets information about the user gesture that caused the cell to enter edit mode.
+ ///
+ public RoutedEventArgs EditingEventArgs { get; private set; }
+
+ ///
+ /// Gets the row that contains the cell to be edited.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowDetailsEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowDetailsEventArgs.cs
new file mode 100644
index 000000000..63b0d9f66
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowDetailsEventArgs.cs
@@ -0,0 +1,31 @@
+using Avalonia.Controls;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides data for the , ,
+/// and events.
+///
+public class DataGridRowDetailsEventArgs : EventArgs
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The row that the event occurs for.
+ /// The row details section as a framework element.
+ public DataGridRowDetailsEventArgs(DataGridRow row, Control detailsElement)
+ {
+ Row = row;
+ DetailsElement = detailsElement;
+ }
+
+ ///
+ /// Gets the row details section as a framework element.
+ ///
+ public Control DetailsElement { get; private set; }
+
+ ///
+ /// Gets the row that the event occurs for.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEditEndedEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEditEndedEventArgs.cs
new file mode 100644
index 000000000..defc75f56
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEditEndedEventArgs.cs
@@ -0,0 +1,28 @@
+namespace AtomUI.Controls;
+
+///
+/// Provides information just after a row has exited edit mode.
+///
+public class DataGridRowEditEndedEventArgs : EventArgs
+{
+ ///
+ /// Instantiates a new instance of this class.
+ ///
+ /// The row container of the cell container that has just exited edit mode.
+ /// The editing action that has been taken.
+ public DataGridRowEditEndedEventArgs(DataGridRow row, DataGridEditAction editAction)
+ {
+ Row = row;
+ EditAction = editAction;
+ }
+
+ ///
+ /// The editing action that has been taken.
+ ///
+ public DataGridEditAction EditAction { get; private set; }
+
+ ///
+ /// The row container of the cell container that has just exited edit mode.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEditEndingEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEditEndingEventArgs.cs
new file mode 100644
index 000000000..8994c3632
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEditEndingEventArgs.cs
@@ -0,0 +1,30 @@
+using System.ComponentModel;
+
+namespace AtomUI.Controls;
+
+///
+/// Provides information just before a row exits editing mode.
+///
+public class DataGridRowEditEndingEventArgs : CancelEventArgs
+{
+ ///
+ /// Instantiates a new instance of this class.
+ ///
+ /// The row container of the cell container that is about to exit edit mode.
+ /// The editing action that will be taken.
+ public DataGridRowEditEndingEventArgs(DataGridRow row, DataGridEditAction editAction)
+ {
+ this.Row = row;
+ this.EditAction = editAction;
+ }
+
+ ///
+ /// The editing action that will be taken.
+ ///
+ public DataGridEditAction EditAction { get; private set; }
+
+ ///
+ /// The row container of the cell container that is about to exit edit mode.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEventArgs.cs
new file mode 100644
index 000000000..3b4063b66
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowEventArgs.cs
@@ -0,0 +1,21 @@
+namespace AtomUI.Controls;
+
+///
+/// Provides data for row-related events.
+///
+public class DataGridRowEventArgs : EventArgs
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The row that the event occurs for.
+ public DataGridRowEventArgs(DataGridRow dataGridRow)
+ {
+ this.Row = dataGridRow;
+ }
+
+ ///
+ /// Gets the row that the event occurs for.
+ ///
+ public DataGridRow Row { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowGroupHeaderEventArgs.cs b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowGroupHeaderEventArgs.cs
new file mode 100644
index 000000000..dc457305f
--- /dev/null
+++ b/src/AtomUI.Controls.DataGrid/EventArgs/DataGridRowGroupHeaderEventArgs.cs
@@ -0,0 +1,21 @@
+namespace AtomUI.Controls;
+
+///
+/// EventArgs used for the DataGrid's LoadingRowGroup and UnloadingRowGroup events
+///
+public class DataGridRowGroupHeaderEventArgs : EventArgs
+{
+ ///
+ /// Constructs a DataGridRowGroupHeaderEventArgs instance
+ ///
+ ///
+ public DataGridRowGroupHeaderEventArgs(DataGridRowGroupHeader rowGroupHeader)
+ {
+ RowGroupHeader = rowGroupHeader;
+ }
+
+ ///
+ /// DataGridRowGroupHeader associated with this instance
+ ///
+ public DataGridRowGroupHeader RowGroupHeader { get; private set; }
+}
\ No newline at end of file
diff --git a/src/AtomUI.Controls.DataGrid/Row/DataGridDetailsPresenter.cs b/src/AtomUI.Controls.DataGrid/Row/DataGridDetailsPresenter.cs
index b2a6a009f..add3c5911 100644
--- a/src/AtomUI.Controls.DataGrid/Row/DataGridDetailsPresenter.cs
+++ b/src/AtomUI.Controls.DataGrid/Row/DataGridDetailsPresenter.cs
@@ -7,7 +7,7 @@ using Avalonia.Media;
namespace AtomUI.Controls;
///
-/// Used within the template of a to specify the location in the control's visual tree
+/// Used within the template of a to specify the location in the control's visual tree
/// where the row details are to be added.
///
public sealed class DataGridDetailsPresenter : Panel
diff --git a/src/AtomUI.Controls.DataGrid/Row/DataGridRow.cs b/src/AtomUI.Controls.DataGrid/Row/DataGridRow.cs
index 810ae25cc..5d7127439 100644
--- a/src/AtomUI.Controls.DataGrid/Row/DataGridRow.cs
+++ b/src/AtomUI.Controls.DataGrid/Row/DataGridRow.cs
@@ -146,7 +146,7 @@ public class DataGridRow : TemplatedControl
}
///
- /// Initializes a new instance of the class.
+ /// Initializes a new instance of the class.
///
public DataGridRow()
{
@@ -417,10 +417,10 @@ public class DataGridRow : TemplatedControl
}
///
- /// Arranges the content of the .
+ /// Arranges the content of the .
///
///
- /// The actual size used by the .
+ /// The actual size used by the .
///
///
/// The final area within the parent that this element should use to arrange itself and its children.
@@ -474,7 +474,7 @@ public class DataGridRow : TemplatedControl
}
///
- /// Measures the children of a to
+ /// Measures the children of a to
/// prepare for arranging them during the pass.
///
///
diff --git a/src/AtomUI.Controls.DataGrid/Row/DataGridRowGroupHeader.cs b/src/AtomUI.Controls.DataGrid/Row/DataGridRowGroupHeader.cs
index d6e767342..65b39e722 100644
--- a/src/AtomUI.Controls.DataGrid/Row/DataGridRowGroupHeader.cs
+++ b/src/AtomUI.Controls.DataGrid/Row/DataGridRowGroupHeader.cs
@@ -64,7 +64,7 @@ public class DataGridRowGroupHeader : TemplatedControl
AvaloniaProperty.Register(nameof(PropertyName));
///
- /// Gets or sets the name of the property that this row is bound to.
+ /// Gets or sets the name of the property that this row is bound to.
///
public string? PropertyName
{
diff --git a/src/AtomUI.Controls.DataGrid/Row/DataGridRowHeader.cs b/src/AtomUI.Controls.DataGrid/Row/DataGridRowHeader.cs
index 23b8e862f..b8e185ef5 100644
--- a/src/AtomUI.Controls.DataGrid/Row/DataGridRowHeader.cs
+++ b/src/AtomUI.Controls.DataGrid/Row/DataGridRowHeader.cs
@@ -11,7 +11,7 @@ using Avalonia.Media;
namespace AtomUI.Controls;
///
-/// Represents an individual row header.
+/// Represents an individual row header.
///
[TemplatePart(ElementRootNamePC, typeof(Control))]
[PseudoClasses(StdPseudoClass.Invalid, StdPseudoClass.Selected, StdPseudoClass.Editing, StdPseudoClass.Current)]
diff --git a/src/AtomUI.Controls.DataGrid/Row/DataGridRowsPresenter.cs b/src/AtomUI.Controls.DataGrid/Row/DataGridRowsPresenter.cs
index 6dcbfccfb..e501d4437 100644
--- a/src/AtomUI.Controls.DataGrid/Row/DataGridRowsPresenter.cs
+++ b/src/AtomUI.Controls.DataGrid/Row/DataGridRowsPresenter.cs
@@ -10,7 +10,7 @@ using Avalonia.Utilities;
namespace AtomUI.Controls;
///
-/// Used within the template of a to specify the
+/// Used within the template of a to specify the
/// location in the control's visual tree where the rows are to be added.
///
public sealed class DataGridRowsPresenter : Panel, IChildIndexProvider
diff --git a/src/AtomUI.Controls.DataGrid/Utils/DataGridFrozenGrid.cs b/src/AtomUI.Controls.DataGrid/Utils/DataGridFrozenGrid.cs
index 874cf3df5..91b160ab8 100644
--- a/src/AtomUI.Controls.DataGrid/Utils/DataGridFrozenGrid.cs
+++ b/src/AtomUI.Controls.DataGrid/Utils/DataGridFrozenGrid.cs
@@ -4,7 +4,7 @@ using Avalonia.Controls;
namespace AtomUI.Controls.Utils;
///
-/// Represents a non-scrollable grid that contains row headers.
+/// Represents a non-scrollable grid that contains row headers.
///
public class DataGridFrozenGrid : Grid
{