Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Controls/src/Core/Cells/Cell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected override void OnPropertyChanging(string propertyName = null)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SendAppearing()
{
Expand All @@ -236,7 +236,7 @@ public void SendAppearing()
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SendDisappearing()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Cells/EntryCell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public string Text
public event EventHandler Completed;

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SendCompleted()
=> Completed?.Invoke(this, EventArgs.Empty);
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Device.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static TargetIdiom Idiom
: FlowDirection.LeftToRight;

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[Obsolete("Use BindableObject.Dispatcher.IsDispatchRequired instead.")]
public static bool IsInvokeRequired =>
Application.Current.FindDispatcher().IsDispatchRequired;
Expand Down
4 changes: 2 additions & 2 deletions src/Controls/src/Core/DeviceOrientationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ namespace Microsoft.Maui.Controls.Internals
static class DeviceOrientationExtensions
{
/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="orientation">Internal parameter for platform use.</param>
/// <returns>For internal use by the Microsoft.Maui.Controls platform.</returns>
public static bool IsLandscape(this DisplayOrientation orientation) =>
orientation == DisplayOrientation.Landscape;

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="orientation">Internal parameter for platform use.</param>
/// <returns>For internal use by the Microsoft.Maui.Controls platform.</returns>
public static bool IsPortrait(this DisplayOrientation orientation) =>
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Editor/Editor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public IPlatformElementConfiguration<T, Editor> On<T>() where T : IConfigPlatfor
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SendCompleted()
=> Completed?.Invoke(this, EventArgs.Empty);
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/ExpressionSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Maui.Controls.Internals
public abstract class ExpressionSearch
{
/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public static IExpressionSearch Default { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public NavigationRequestedEventArgs(Page page, Page before, bool animated) : thi
public Task<bool> Task { get; set; }

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public NavigationRequestType RequestType { get; set; } = NavigationRequestType.Unknown;
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Internals/PageExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Maui.Controls.Internals
public static class PageExtensions
{
/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="page">Internal parameter for platform use.</param>
/// <returns>For internal use by the Microsoft.Maui.Controls platform.</returns>
public static Page AncestorToRoot(this Page page)
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Internals/ResourceLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static class ResourceLoader
{
static Func<ResourceLoadingQuery, ResourceLoadingResponse> _resourceProvider2;
/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public static Func<ResourceLoadingQuery, ResourceLoadingResponse> ResourceProvider2
{
get => _resourceProvider2;
Expand Down
18 changes: 9 additions & 9 deletions src/Controls/src/Core/ListView/ListView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ public ScrollBarVisibility VerticalScrollBarVisibility
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public ListViewCachingStrategy CachingStrategy { get; private set; }

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool RefreshAllowed
{
Expand All @@ -328,30 +328,30 @@ public bool RefreshAllowed
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public Element FooterElement
{
get { return _footerElement; }
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public Element HeaderElement
{
get { return _headerElement; }
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="cell">Internal parameter for platform use.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SendCellAppearing(Cell cell)
=> ItemAppearing?.Invoke(this, new ItemVisibilityEventArgs(cell.BindingContext, TemplatedItems.GetGlobalIndexOfItem(cell?.BindingContext)));

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="cell">Internal parameter for platform use.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SendCellDisappearing(Cell cell)
Expand All @@ -363,7 +363,7 @@ public void SendScrolled(ScrolledEventArgs args)
=> Scrolled?.Invoke(this, args);

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public void SendRefreshing()
{
Expand Down Expand Up @@ -490,7 +490,7 @@ protected override void UnhookContent(Cell content)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="item">Internal parameter for platform use.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public Cell CreateDefaultCell(object item)
Expand All @@ -499,7 +499,7 @@ public Cell CreateDefaultCell(object item)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="cell">Internal parameter for platform use.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public string GetDisplayTextFromGroup(object cell)
Expand Down
26 changes: 13 additions & 13 deletions src/Controls/src/Core/NavigationModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class NavigationModel
readonly List<List<Page>> _navTree = new List<List<Page>>();

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public Page CurrentPage
{
get
Expand All @@ -35,14 +35,14 @@ public Page LastRoot


/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public IReadOnlyList<Page> Modals
{
get { return _modalStack.AsReadOnly(); }
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public IEnumerable<Page> Roots
{
get
Expand All @@ -55,22 +55,22 @@ public IEnumerable<Page> Roots
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public IReadOnlyList<IReadOnlyList<Page>> Tree
{
get { return _navTree; }
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public void Clear()
{
_navTree.Clear();
_modalStack.Clear();
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="page">Internal parameter for platform use.</param>
/// <param name="before">Internal parameter for platform use.</param>
public void InsertPageBefore(Page page, Page before)
Expand All @@ -85,7 +85,7 @@ public void InsertPageBefore(Page page, Page before)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="ancestralNav">Internal parameter for platform use.</param>
/// <returns>For internal use by the Microsoft.Maui.Controls platform.</returns>
public Page Pop(Page ancestralNav)
Expand All @@ -107,7 +107,7 @@ public Page Pop(Page ancestralNav)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <returns>For internal use by the Microsoft.Maui.Controls platform.</returns>
public Page PopModal()
{
Expand Down Expand Up @@ -135,7 +135,7 @@ public Page PopModal()
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <returns>For internal use by the Microsoft.Maui.Controls platform.</returns>
public Page PopTopPage()
{
Expand All @@ -160,7 +160,7 @@ public Page PopTopPage()
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="ancestralNav">Internal parameter for platform use.</param>
public void PopToRoot(Page ancestralNav)
{
Expand All @@ -180,7 +180,7 @@ public void PopToRoot(Page ancestralNav)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="page">Internal parameter for platform use.</param>
/// <param name="ancestralNav">Internal parameter for platform use.</param>
public void Push(Page page, Page ancestralNav)
Expand Down Expand Up @@ -208,7 +208,7 @@ public void Push(Page page, Page ancestralNav)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="page">Internal parameter for platform use.</param>
public void PushModal(Page page)
{
Expand All @@ -230,7 +230,7 @@ public void PushModal(Page page)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="page">Internal parameter for platform use.</param>
/// <returns>For internal use by the Microsoft.Maui.Controls platform.</returns>
public bool RemovePage(Page page)
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/NavigationPage/NavigationPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public Color BarTextColor
internal Task CurrentNavigationTask { get; set; }

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="depth">The depth parameter.</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public Page Peek(int depth)
Expand Down
10 changes: 5 additions & 5 deletions src/Controls/src/Core/NavigationProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class NavigationProxy : INavigation
Lazy<List<Page>> _pushStack = new Lazy<List<Page>>(() => new List<Page>());

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public INavigation Inner
{
get { return _inner; }
Expand Down Expand Up @@ -69,7 +69,7 @@ public INavigation Inner
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="page">Internal parameter for platform use.</param>
/// <param name="before">Internal parameter for platform use.</param>
public void InsertPageBefore(Page page, Page before)
Expand All @@ -78,14 +78,14 @@ public void InsertPageBefore(Page page, Page before)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public IReadOnlyList<Page> ModalStack
{
get { return GetModalStack(); }
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
public IReadOnlyList<Page> NavigationStack
{
get { return GetNavigationStack(); }
Expand Down Expand Up @@ -156,7 +156,7 @@ public Task PushModalAsync(Page modal, bool animated)
}

/// <summary>Internal API for Microsoft.Maui.Controls platform use.</summary>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <remarks>For internal use only. This API can be changed or removed without notice at any time.</remarks>
/// <param name="page">Internal parameter for platform use.</param>
public void RemovePage(Page page)
{
Expand Down
Loading