diff --git a/src/Avalonia.Base/Threading/DispatcherOperation.cs b/src/Avalonia.Base/Threading/DispatcherOperation.cs
index e32b7e809a..871eca1a43 100644
--- a/src/Avalonia.Base/Threading/DispatcherOperation.cs
+++ b/src/Avalonia.Base/Threading/DispatcherOperation.cs
@@ -117,7 +117,7 @@ public class DispatcherOperation
///
///
/// The status of the operation. To obtain the return value
- /// of the invoked delegate, use the the Result property.
+ /// of the invoked delegate, use the Result property.
///
public void Wait() => Wait(TimeSpan.FromMilliseconds(-1));
diff --git a/src/Avalonia.Controls.DataGrid/DataGridColumn.cs b/src/Avalonia.Controls.DataGrid/DataGridColumn.cs
index cc043a6ed9..6353f7ebb9 100644
--- a/src/Avalonia.Controls.DataGrid/DataGridColumn.cs
+++ b/src/Avalonia.Controls.DataGrid/DataGridColumn.cs
@@ -614,7 +614,7 @@ namespace Avalonia.Controls
}
///
- /// Gets the value of a cell according to the the specified binding.
+ /// Gets the value of a cell according to the specified binding.
///
/// The item associated with a cell.
/// The binding to get the value of.
diff --git a/src/Avalonia.Controls.DataGrid/IndexToValueTable.cs b/src/Avalonia.Controls.DataGrid/IndexToValueTable.cs
index 68a2fc562f..bd798287a6 100644
--- a/src/Avalonia.Controls.DataGrid/IndexToValueTable.cs
+++ b/src/Avalonia.Controls.DataGrid/IndexToValueTable.cs
@@ -140,11 +140,11 @@ namespace Avalonia.Controls
}
///
- /// Returns true if the given index is contained in the table with the the given value
+ /// Returns true if the given index is contained in the table with the given value
///
/// index to search for
/// value expected
- /// true if the given index is contained in the table with the the given value
+ /// true if the given index is contained in the table with the given value
public bool ContainsIndexAndValue(int index, T value)
{
int lowerRangeIndex = this.FindRangeIndex(index);
diff --git a/src/Avalonia.Controls/Automation/Peers/AutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/AutomationPeer.cs
index fb7cdd87ed..35d6c13918 100644
--- a/src/Avalonia.Controls/Automation/Peers/AutomationPeer.cs
+++ b/src/Avalonia.Controls/Automation/Peers/AutomationPeer.cs
@@ -182,7 +182,7 @@ namespace Avalonia.Automation.Peers
public event EventHandler? PropertyChanged;
///
- /// Raises an event to notify the automation client the the children of the peer have changed.
+ /// Raises an event to notify the automation client the children of the peer have changed.
///
protected void RaiseChildrenChangedEvent() => ChildrenChanged?.Invoke(this, EventArgs.Empty);
diff --git a/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs b/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs
index 2097cd2d1a..c4ee65ab13 100644
--- a/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs
+++ b/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs
@@ -520,7 +520,7 @@ namespace Avalonia.Controls.Platform
}
else if (item?.Parent?.MoveSelection(direction.Value, true) == true)
{
- // If the the parent is an IMenu which successfully moved its selection,
+ // If the parent is an IMenu which successfully moved its selection,
// and the current menu is open then close the current menu and open the
// new menu.
if (item.IsSubMenuOpen &&
diff --git a/src/Avalonia.Controls/Primitives/Popup.cs b/src/Avalonia.Controls/Primitives/Popup.cs
index 55c368b4f9..08ef39947c 100644
--- a/src/Avalonia.Controls/Primitives/Popup.cs
+++ b/src/Avalonia.Controls/Primitives/Popup.cs
@@ -258,7 +258,7 @@ namespace Avalonia.Controls.Primitives
}
///
- /// Gets or sets the the anchor rectangle within the parent that the popup will be placed
+ /// Gets or sets the anchor rectangle within the parent that the popup will be placed
/// relative to when is .
///
///
@@ -289,7 +289,7 @@ namespace Avalonia.Controls.Primitives
/// through to the parent window.
///
///
- /// When is set to true, clicks outside the the popup
+ /// When is set to true, clicks outside the popup
/// cause the popup to close. When is set to
/// false, these clicks will be handled by the popup and not be registered by the parent
/// window. When set to true, the events will be passed through to the parent window.
diff --git a/src/Avalonia.Controls/VirtualizingPanel.cs b/src/Avalonia.Controls/VirtualizingPanel.cs
index 0ee4767769..779aa811b4 100644
--- a/src/Avalonia.Controls/VirtualizingPanel.cs
+++ b/src/Avalonia.Controls/VirtualizingPanel.cs
@@ -77,7 +77,7 @@ namespace Avalonia.Controls
/// item is realized; otherwise, null.
///
///
- /// Note for implementors: if the item at the the specified index is an ItemIsOwnContainer
+ /// Note for implementors: if the item at the specified index is an ItemIsOwnContainer
/// item that has previously been realized, then the item should be returned even if it
/// currently falls outside the realized viewport.
///
diff --git a/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/AvaloniaXamlIlSelectorTransformer.cs b/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/AvaloniaXamlIlSelectorTransformer.cs
index 5292aadab2..a8718524a5 100644
--- a/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/AvaloniaXamlIlSelectorTransformer.cs
+++ b/src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/AvaloniaXamlIlSelectorTransformer.cs
@@ -36,7 +36,7 @@ namespace Avalonia.Markup.Xaml.XamlIl.CompilerExtensions.Transformers
return node;
if (pn.Values.Count != 1)
- throw new XamlSelectorsTransformException("Selector property should should have exactly one value",
+ throw new XamlSelectorsTransformException("Selector property should have exactly one value",
node);
if (pn.Values[0] is XamlIlSelectorNode)
diff --git a/src/Markup/Avalonia.Markup/Data/RelativeSource.cs b/src/Markup/Avalonia.Markup/Data/RelativeSource.cs
index 037175a137..adba9e722c 100644
--- a/src/Markup/Avalonia.Markup/Data/RelativeSource.cs
+++ b/src/Markup/Avalonia.Markup/Data/RelativeSource.cs
@@ -45,7 +45,7 @@ namespace Avalonia.Data
}
///
- /// Describes the the location of a binding source, relative to the binding target.
+ /// Describes the location of a binding source, relative to the binding target.
///
public class RelativeSource
{