diff --git a/src/Controls/src/Core/ICornerElement.cs b/src/Controls/src/Core/ICornerElement.cs index 8073bc34f00b..d3be53885010 100644 --- a/src/Controls/src/Core/ICornerElement.cs +++ b/src/Controls/src/Core/ICornerElement.cs @@ -1,9 +1,18 @@ -#nullable disable -namespace Microsoft.Maui.Controls +namespace Microsoft.Maui.Controls; + +/// +/// Defines properties for elements that can have rounded corners. +/// +/// +/// This interface is implemented by UI elements that support corner radius customization, +/// allowing for consistent styling of corners across different controls. +/// +public interface ICornerElement { - interface ICornerElement - { - //note to implementor: implement this property publicly - CornerRadius CornerRadius { get; } - } -} \ No newline at end of file + /// + /// Gets the radius for the corners of the element. + /// + /// A value that specifies the radius for each corner of the element. The default value depends on the implementing control. + /// Implementors should implement this property publicly. + CornerRadius CornerRadius { get; } +} diff --git a/src/Controls/src/Core/ILineHeightElement.cs b/src/Controls/src/Core/ILineHeightElement.cs index 1b4adab92a91..f81d26486548 100644 --- a/src/Controls/src/Core/ILineHeightElement.cs +++ b/src/Controls/src/Core/ILineHeightElement.cs @@ -1,13 +1,25 @@ -#nullable disable -using System.ComponentModel; +namespace Microsoft.Maui.Controls; -namespace Microsoft.Maui.Controls.Internals +/// +/// Defines properties and methods for elements that support line height customization. +/// +/// +/// This interface is implemented by UI elements that need to control the spacing between lines of text, +/// providing consistent line height behavior across different text-based controls. +/// +public interface ILineHeightElement { - [EditorBrowsable(EditorBrowsableState.Never)] - interface ILineHeightElement - { - double LineHeight { get; } + /// + /// Gets the line height for text displayed by this element. + /// + /// A multiplier that determines the spacing between lines of text. A value of 1.0 represents standard line height. + double LineHeight { get; } - void OnLineHeightChanged(double oldValue, double newValue); - } -} \ No newline at end of file + /// + /// Called when the property changes. + /// + /// The old value of the property. + /// The new value of the property. + /// Implementors should implement this method explicitly. + void OnLineHeightChanged(double oldValue, double newValue); +} diff --git a/src/Controls/src/Core/ITextAlignmentElement.cs b/src/Controls/src/Core/ITextAlignmentElement.cs index bf0ccaab9bd2..057ea79f14e6 100644 --- a/src/Controls/src/Core/ITextAlignmentElement.cs +++ b/src/Controls/src/Core/ITextAlignmentElement.cs @@ -1,14 +1,33 @@ -#nullable disable -namespace Microsoft.Maui.Controls +namespace Microsoft.Maui.Controls; + +/// +/// Defines properties and methods for elements that support text alignment. +/// +/// +/// This interface is implemented by UI elements that need to control the horizontal and vertical +/// alignment of displayed text. +/// +public interface ITextAlignmentElement { - interface ITextAlignmentElement - { - //note to implementor: implement the properties publicly - TextAlignment HorizontalTextAlignment { get; } + /// + /// Gets the horizontal alignment of the text. + /// + /// A value that specifies how the text is horizontally aligned. The default value depends on the implementing control. + /// Implementors should implement this property publicly. + TextAlignment HorizontalTextAlignment { get; } - TextAlignment VerticalTextAlignment { get; } + /// + /// Gets the vertical alignment of the text. + /// + /// A value that specifies how the text is vertically aligned. The default value depends on the implementing control. + /// Implementors should implement this property publicly. + TextAlignment VerticalTextAlignment { get; } - //note to implementor: but implement the methods explicitly - void OnHorizontalTextAlignmentPropertyChanged(TextAlignment oldValue, TextAlignment newValue); - } -} \ No newline at end of file + /// + /// Called when the property changes. + /// + /// The old value of the property. + /// The new value of the property. + /// Implementors should implement this method explicitly. + void OnHorizontalTextAlignmentPropertyChanged(TextAlignment oldValue, TextAlignment newValue); +} diff --git a/src/Controls/src/Core/ITextElement.cs b/src/Controls/src/Core/ITextElement.cs index cf2de8e42104..40c7600fb9b0 100644 --- a/src/Controls/src/Core/ITextElement.cs +++ b/src/Controls/src/Core/ITextElement.cs @@ -1,27 +1,64 @@ #nullable disable -using System; -using Microsoft.Maui.Controls.Internals; using Microsoft.Maui.Graphics; -namespace Microsoft.Maui.Controls +namespace Microsoft.Maui.Controls; + +/// +/// Defines properties and methods for elements that display text. +/// +/// +/// This interface is implemented by UI elements that can display text and allows consistent +/// text styling and formatting across different controls. +/// +public interface ITextElement { - interface ITextElement - { - //note to implementor: implement this property publicly - Color TextColor { get; } + /// + /// Gets the color of the text. + /// + /// The of the text. The default value depends on the implementing control. + /// Implementors should implement this property publicly. + Color TextColor { get; } - //note to implementor: but implement this method explicitly - void OnTextColorPropertyChanged(Color oldValue, Color newValue); + /// + /// Called when the property changes. + /// + /// The old value of the property. + /// The new value of the property. + /// Implementors should implement this method explicitly. + void OnTextColorPropertyChanged(Color oldValue, Color newValue); - double CharacterSpacing { get; } + /// + /// Gets the character spacing. + /// + /// The spacing between characters in the text, in device-independent units. The default is 0. + double CharacterSpacing { get; } - //note to implementor: but implement these methods explicitly - void OnCharacterSpacingPropertyChanged(double oldValue, double newValue); + /// + /// Called when the property changes. + /// + /// The old value of the property. + /// The new value of the property. + /// Implementors should implement this method explicitly. + void OnCharacterSpacingPropertyChanged(double oldValue, double newValue); - TextTransform TextTransform { get; set; } + /// + /// Gets or sets the text transformation. + /// + /// A value that indicates how the text is transformed. The default is . + TextTransform TextTransform { get; set; } - void OnTextTransformChanged(TextTransform oldValue, TextTransform newValue); + /// + /// Called when the property changes. + /// + /// The old value of the property. + /// The new value of the property. + void OnTextTransformChanged(TextTransform oldValue, TextTransform newValue); - string UpdateFormsText(string original, TextTransform transform); - } -} \ No newline at end of file + /// + /// Updates the text according to the specified transformation. + /// + /// The original text to transform. + /// The transformation to apply. + /// The transformed text. + string UpdateFormsText(string original, TextTransform transform); +} diff --git a/src/Controls/src/Core/Properties/AssemblyInfo.cs b/src/Controls/src/Core/Properties/AssemblyInfo.cs index d77a424a110b..7c37bed62ffa 100644 --- a/src/Controls/src/Core/Properties/AssemblyInfo.cs +++ b/src/Controls/src/Core/Properties/AssemblyInfo.cs @@ -48,12 +48,6 @@ [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.DeviceTests")] [assembly: InternalsVisibleTo("Controls.TestCases.HostApp")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Core")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Embedding")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.UnitTests")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup.UnitTests")] [assembly: InternalsVisibleTo("Controls.TestCases.HostApp")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] diff --git a/src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt b/src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt index 032b6469a32e..a4afd3503a46 100644 --- a/src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt @@ -11,7 +11,25 @@ *REMOVED*~Microsoft.Maui.Controls.NavigableElement.StyleClass.set -> void Microsoft.Maui.Controls.HybridWebView.InvokeJavaScriptAsync(string! methodName, object?[]? paramValues = null, System.Text.Json.Serialization.Metadata.JsonTypeInfo?[]? paramJsonTypeInfos = null) -> System.Threading.Tasks.Task! Microsoft.Maui.Controls.HybridWebView.SetInvokeJavaScriptTarget(T! target) -> void +Microsoft.Maui.Controls.ICornerElement +Microsoft.Maui.Controls.ICornerElement.CornerRadius.get -> Microsoft.Maui.CornerRadius +Microsoft.Maui.Controls.ILineHeightElement +Microsoft.Maui.Controls.ILineHeightElement.LineHeight.get -> double +Microsoft.Maui.Controls.ILineHeightElement.OnLineHeightChanged(double oldValue, double newValue) -> void Microsoft.Maui.Controls.Internals.TextTransformUtilities +Microsoft.Maui.Controls.ITextAlignmentElement +Microsoft.Maui.Controls.ITextAlignmentElement.HorizontalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(Microsoft.Maui.TextAlignment oldValue, Microsoft.Maui.TextAlignment newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement.VerticalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextElement +Microsoft.Maui.Controls.ITextElement.CharacterSpacing.get -> double +Microsoft.Maui.Controls.ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextElement.OnTextTransformChanged(Microsoft.Maui.TextTransform oldValue, Microsoft.Maui.TextTransform newValue) -> void +Microsoft.Maui.Controls.ITextElement.TextTransform.get -> Microsoft.Maui.TextTransform +Microsoft.Maui.Controls.ITextElement.TextTransform.set -> void +~Microsoft.Maui.Controls.ITextElement.OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue) -> void +~Microsoft.Maui.Controls.ITextElement.TextColor.get -> Microsoft.Maui.Graphics.Color +~Microsoft.Maui.Controls.ITextElement.UpdateFormsText(string original, Microsoft.Maui.TextTransform transform) -> string Microsoft.Maui.Controls.ShadowTypeConverter Microsoft.Maui.Controls.ShadowTypeConverter.ShadowTypeConverter() -> void Microsoft.Maui.Controls.StyleableElement.Style.get -> Microsoft.Maui.Controls.Style? diff --git a/src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt b/src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt index 33f6c2c5e12d..0307f369370b 100644 --- a/src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt @@ -93,6 +93,24 @@ static Microsoft.Maui.Controls.ViewExtensions.TranslateToAsync(this Microsoft.Ma *REMOVED*~Microsoft.Maui.Controls.NavigableElement.StyleClass.set -> void Microsoft.Maui.Controls.HybridWebView.InvokeJavaScriptAsync(string! methodName, object?[]? paramValues = null, System.Text.Json.Serialization.Metadata.JsonTypeInfo?[]? paramJsonTypeInfos = null) -> System.Threading.Tasks.Task! Microsoft.Maui.Controls.HybridWebView.SetInvokeJavaScriptTarget(T! target) -> void +Microsoft.Maui.Controls.ICornerElement +Microsoft.Maui.Controls.ICornerElement.CornerRadius.get -> Microsoft.Maui.CornerRadius +Microsoft.Maui.Controls.ILineHeightElement +Microsoft.Maui.Controls.ILineHeightElement.LineHeight.get -> double +Microsoft.Maui.Controls.ILineHeightElement.OnLineHeightChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement +Microsoft.Maui.Controls.ITextAlignmentElement.HorizontalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(Microsoft.Maui.TextAlignment oldValue, Microsoft.Maui.TextAlignment newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement.VerticalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextElement +Microsoft.Maui.Controls.ITextElement.CharacterSpacing.get -> double +Microsoft.Maui.Controls.ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextElement.OnTextTransformChanged(Microsoft.Maui.TextTransform oldValue, Microsoft.Maui.TextTransform newValue) -> void +Microsoft.Maui.Controls.ITextElement.TextTransform.get -> Microsoft.Maui.TextTransform +Microsoft.Maui.Controls.ITextElement.TextTransform.set -> void +~Microsoft.Maui.Controls.ITextElement.OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue) -> void +~Microsoft.Maui.Controls.ITextElement.TextColor.get -> Microsoft.Maui.Graphics.Color +~Microsoft.Maui.Controls.ITextElement.UpdateFormsText(string original, Microsoft.Maui.TextTransform transform) -> string ~Microsoft.Maui.Controls.ResourceDictionary.SetAndCreateSource(System.Uri value) -> void ~Microsoft.Maui.Controls.WebViewProcessTerminatedEventArgs.PlatformArgs.get -> Microsoft.Maui.Controls.PlatformWebViewProcessTerminatedEventArgs ~Microsoft.Maui.Controls.Xaml.IXamlTypeResolver.Resolve(string qualifiedTypeName, System.IServiceProvider serviceProvider = null, bool expandToExtension = true) -> System.Type diff --git a/src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt b/src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt index 7435ba760baa..3da8c9967f55 100644 --- a/src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt @@ -93,6 +93,24 @@ static Microsoft.Maui.Controls.ViewExtensions.TranslateToAsync(this Microsoft.Ma *REMOVED*~Microsoft.Maui.Controls.NavigableElement.StyleClass.set -> void Microsoft.Maui.Controls.HybridWebView.InvokeJavaScriptAsync(string! methodName, object?[]? paramValues = null, System.Text.Json.Serialization.Metadata.JsonTypeInfo?[]? paramJsonTypeInfos = null) -> System.Threading.Tasks.Task! Microsoft.Maui.Controls.HybridWebView.SetInvokeJavaScriptTarget(T! target) -> void +Microsoft.Maui.Controls.ICornerElement +Microsoft.Maui.Controls.ICornerElement.CornerRadius.get -> Microsoft.Maui.CornerRadius +Microsoft.Maui.Controls.ILineHeightElement +Microsoft.Maui.Controls.ILineHeightElement.LineHeight.get -> double +Microsoft.Maui.Controls.ILineHeightElement.OnLineHeightChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement +Microsoft.Maui.Controls.ITextAlignmentElement.HorizontalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(Microsoft.Maui.TextAlignment oldValue, Microsoft.Maui.TextAlignment newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement.VerticalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextElement +Microsoft.Maui.Controls.ITextElement.CharacterSpacing.get -> double +Microsoft.Maui.Controls.ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextElement.OnTextTransformChanged(Microsoft.Maui.TextTransform oldValue, Microsoft.Maui.TextTransform newValue) -> void +Microsoft.Maui.Controls.ITextElement.TextTransform.get -> Microsoft.Maui.TextTransform +Microsoft.Maui.Controls.ITextElement.TextTransform.set -> void +~Microsoft.Maui.Controls.ITextElement.OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue) -> void +~Microsoft.Maui.Controls.ITextElement.TextColor.get -> Microsoft.Maui.Graphics.Color +~Microsoft.Maui.Controls.ITextElement.UpdateFormsText(string original, Microsoft.Maui.TextTransform transform) -> string ~Microsoft.Maui.Controls.ResourceDictionary.SetAndCreateSource(System.Uri value) -> void ~Microsoft.Maui.Controls.Internals.TypedBindingBase.UpdateSourceEventName.set -> void ~Microsoft.Maui.Controls.Xaml.IXamlTypeResolver.Resolve(string qualifiedTypeName, System.IServiceProvider serviceProvider = null, bool expandToExtension = true) -> System.Type diff --git a/src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt b/src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt index b8cc6cb0a38f..0cf83852205c 100644 --- a/src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt @@ -11,7 +11,25 @@ *REMOVED*~Microsoft.Maui.Controls.NavigableElement.StyleClass.set -> void Microsoft.Maui.Controls.HybridWebView.InvokeJavaScriptAsync(string! methodName, object?[]? paramValues = null, System.Text.Json.Serialization.Metadata.JsonTypeInfo?[]? paramJsonTypeInfos = null) -> System.Threading.Tasks.Task! Microsoft.Maui.Controls.HybridWebView.SetInvokeJavaScriptTarget(T! target) -> void +Microsoft.Maui.Controls.ICornerElement +Microsoft.Maui.Controls.ICornerElement.CornerRadius.get -> Microsoft.Maui.CornerRadius +Microsoft.Maui.Controls.ILineHeightElement +Microsoft.Maui.Controls.ILineHeightElement.LineHeight.get -> double +Microsoft.Maui.Controls.ILineHeightElement.OnLineHeightChanged(double oldValue, double newValue) -> void Microsoft.Maui.Controls.Internals.TextTransformUtilities +Microsoft.Maui.Controls.ITextAlignmentElement +Microsoft.Maui.Controls.ITextAlignmentElement.HorizontalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(Microsoft.Maui.TextAlignment oldValue, Microsoft.Maui.TextAlignment newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement.VerticalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextElement +Microsoft.Maui.Controls.ITextElement.CharacterSpacing.get -> double +Microsoft.Maui.Controls.ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextElement.OnTextTransformChanged(Microsoft.Maui.TextTransform oldValue, Microsoft.Maui.TextTransform newValue) -> void +Microsoft.Maui.Controls.ITextElement.TextTransform.get -> Microsoft.Maui.TextTransform +Microsoft.Maui.Controls.ITextElement.TextTransform.set -> void +~Microsoft.Maui.Controls.ITextElement.OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue) -> void +~Microsoft.Maui.Controls.ITextElement.TextColor.get -> Microsoft.Maui.Graphics.Color +~Microsoft.Maui.Controls.ITextElement.UpdateFormsText(string original, Microsoft.Maui.TextTransform transform) -> string Microsoft.Maui.Controls.ShadowTypeConverter Microsoft.Maui.Controls.ShadowTypeConverter.ShadowTypeConverter() -> void Microsoft.Maui.Controls.StyleableElement.Style.get -> Microsoft.Maui.Controls.Style? diff --git a/src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt b/src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt index 9ef42960f9a9..14192f9a33df 100644 --- a/src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt @@ -11,7 +11,25 @@ *REMOVED*~Microsoft.Maui.Controls.NavigableElement.StyleClass.set -> void Microsoft.Maui.Controls.HybridWebView.InvokeJavaScriptAsync(string! methodName, object?[]? paramValues = null, System.Text.Json.Serialization.Metadata.JsonTypeInfo?[]? paramJsonTypeInfos = null) -> System.Threading.Tasks.Task! Microsoft.Maui.Controls.HybridWebView.SetInvokeJavaScriptTarget(T! target) -> void +Microsoft.Maui.Controls.ICornerElement +Microsoft.Maui.Controls.ICornerElement.CornerRadius.get -> Microsoft.Maui.CornerRadius +Microsoft.Maui.Controls.ILineHeightElement +Microsoft.Maui.Controls.ILineHeightElement.LineHeight.get -> double +Microsoft.Maui.Controls.ILineHeightElement.OnLineHeightChanged(double oldValue, double newValue) -> void Microsoft.Maui.Controls.Internals.TextTransformUtilities +Microsoft.Maui.Controls.ITextAlignmentElement +Microsoft.Maui.Controls.ITextAlignmentElement.HorizontalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(Microsoft.Maui.TextAlignment oldValue, Microsoft.Maui.TextAlignment newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement.VerticalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextElement +Microsoft.Maui.Controls.ITextElement.CharacterSpacing.get -> double +Microsoft.Maui.Controls.ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextElement.OnTextTransformChanged(Microsoft.Maui.TextTransform oldValue, Microsoft.Maui.TextTransform newValue) -> void +Microsoft.Maui.Controls.ITextElement.TextTransform.get -> Microsoft.Maui.TextTransform +Microsoft.Maui.Controls.ITextElement.TextTransform.set -> void +~Microsoft.Maui.Controls.ITextElement.OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue) -> void +~Microsoft.Maui.Controls.ITextElement.TextColor.get -> Microsoft.Maui.Graphics.Color +~Microsoft.Maui.Controls.ITextElement.UpdateFormsText(string original, Microsoft.Maui.TextTransform transform) -> string override Microsoft.Maui.Controls.Handlers.Items.SelectableItemsViewHandler.UpdateItemsLayout() -> void Microsoft.Maui.Controls.ShadowTypeConverter Microsoft.Maui.Controls.ShadowTypeConverter.ShadowTypeConverter() -> void diff --git a/src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt b/src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt index 2e79dcf232bd..cce31894347a 100644 --- a/src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt @@ -11,7 +11,25 @@ *REMOVED*~Microsoft.Maui.Controls.NavigableElement.StyleClass.set -> void Microsoft.Maui.Controls.HybridWebView.InvokeJavaScriptAsync(string! methodName, object?[]? paramValues = null, System.Text.Json.Serialization.Metadata.JsonTypeInfo?[]? paramJsonTypeInfos = null) -> System.Threading.Tasks.Task! Microsoft.Maui.Controls.HybridWebView.SetInvokeJavaScriptTarget(T! target) -> void +Microsoft.Maui.Controls.ICornerElement +Microsoft.Maui.Controls.ICornerElement.CornerRadius.get -> Microsoft.Maui.CornerRadius +Microsoft.Maui.Controls.ILineHeightElement +Microsoft.Maui.Controls.ILineHeightElement.LineHeight.get -> double +Microsoft.Maui.Controls.ILineHeightElement.OnLineHeightChanged(double oldValue, double newValue) -> void Microsoft.Maui.Controls.Internals.TextTransformUtilities +Microsoft.Maui.Controls.ITextAlignmentElement +Microsoft.Maui.Controls.ITextAlignmentElement.HorizontalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(Microsoft.Maui.TextAlignment oldValue, Microsoft.Maui.TextAlignment newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement.VerticalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextElement +~Microsoft.Maui.Controls.ITextElement.OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue) -> void +~Microsoft.Maui.Controls.ITextElement.TextColor.get -> Microsoft.Maui.Graphics.Color +~Microsoft.Maui.Controls.ITextElement.UpdateFormsText(string original, Microsoft.Maui.TextTransform transform) -> string +Microsoft.Maui.Controls.ITextElement.CharacterSpacing.get -> double +Microsoft.Maui.Controls.ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextElement.OnTextTransformChanged(Microsoft.Maui.TextTransform oldValue, Microsoft.Maui.TextTransform newValue) -> void +Microsoft.Maui.Controls.ITextElement.TextTransform.get -> Microsoft.Maui.TextTransform +Microsoft.Maui.Controls.ITextElement.TextTransform.set -> void Microsoft.Maui.Controls.ShadowTypeConverter Microsoft.Maui.Controls.ShadowTypeConverter.ShadowTypeConverter() -> void Microsoft.Maui.Controls.StyleableElement.Style.get -> Microsoft.Maui.Controls.Style? diff --git a/src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt b/src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt index f9c1ba845497..b9d99a672bff 100644 --- a/src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt @@ -11,7 +11,22 @@ *REMOVED*~Microsoft.Maui.Controls.NavigableElement.StyleClass.set -> void Microsoft.Maui.Controls.HybridWebView.InvokeJavaScriptAsync(string! methodName, object?[]? paramValues = null, System.Text.Json.Serialization.Metadata.JsonTypeInfo?[]? paramJsonTypeInfos = null) -> System.Threading.Tasks.Task! Microsoft.Maui.Controls.HybridWebView.SetInvokeJavaScriptTarget(T! target) -> void +Microsoft.Maui.Controls.ICornerElement +Microsoft.Maui.Controls.ICornerElement.CornerRadius.get -> Microsoft.Maui.CornerRadius +Microsoft.Maui.Controls.ILineHeightElement +Microsoft.Maui.Controls.ILineHeightElement.LineHeight.get -> double +Microsoft.Maui.Controls.ILineHeightElement.OnLineHeightChanged(double oldValue, double newValue) -> void Microsoft.Maui.Controls.Internals.TextTransformUtilities +Microsoft.Maui.Controls.ITextAlignmentElement +Microsoft.Maui.Controls.ITextAlignmentElement.HorizontalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextAlignmentElement.OnHorizontalTextAlignmentPropertyChanged(Microsoft.Maui.TextAlignment oldValue, Microsoft.Maui.TextAlignment newValue) -> void +Microsoft.Maui.Controls.ITextAlignmentElement.VerticalTextAlignment.get -> Microsoft.Maui.TextAlignment +Microsoft.Maui.Controls.ITextElement +Microsoft.Maui.Controls.ITextElement.CharacterSpacing.get -> double +Microsoft.Maui.Controls.ITextElement.OnCharacterSpacingPropertyChanged(double oldValue, double newValue) -> void +Microsoft.Maui.Controls.ITextElement.OnTextTransformChanged(Microsoft.Maui.TextTransform oldValue, Microsoft.Maui.TextTransform newValue) -> void +Microsoft.Maui.Controls.ITextElement.TextTransform.get -> Microsoft.Maui.TextTransform +Microsoft.Maui.Controls.ITextElement.TextTransform.set -> void Microsoft.Maui.Controls.ShadowTypeConverter Microsoft.Maui.Controls.ShadowTypeConverter.ShadowTypeConverter() -> void Microsoft.Maui.Controls.StyleableElement.Style.get -> Microsoft.Maui.Controls.Style? @@ -19,6 +34,9 @@ override Microsoft.Maui.Controls.ShadowTypeConverter.CanConvertFrom(System.Compo override Microsoft.Maui.Controls.ShadowTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Type? destinationType) -> bool override Microsoft.Maui.Controls.ShadowTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object! value) -> object! override Microsoft.Maui.Controls.ShadowTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type? destinationType) -> object! +~Microsoft.Maui.Controls.ITextElement.OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue) -> void +~Microsoft.Maui.Controls.ITextElement.TextColor.get -> Microsoft.Maui.Graphics.Color +~Microsoft.Maui.Controls.ITextElement.UpdateFormsText(string original, Microsoft.Maui.TextTransform transform) -> string ~Microsoft.Maui.Controls.Page.DisplayActionSheetAsync(string title, string cancel, string destruction, Microsoft.Maui.FlowDirection flowDirection, params string[] buttons) -> System.Threading.Tasks.Task ~Microsoft.Maui.Controls.Page.DisplayActionSheetAsync(string title, string cancel, string destruction, params string[] buttons) -> System.Threading.Tasks.Task ~Microsoft.Maui.Controls.Page.DisplayAlertAsync(string title, string message, string accept, string cancel) -> System.Threading.Tasks.Task diff --git a/src/Controls/src/Xaml/Properties/AssemblyInfo.cs b/src/Controls/src/Xaml/Properties/AssemblyInfo.cs index 4d97e5e3d5dc..32c270a08b9c 100644 --- a/src/Controls/src/Xaml/Properties/AssemblyInfo.cs +++ b/src/Controls/src/Xaml/Properties/AssemblyInfo.cs @@ -11,12 +11,6 @@ [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.HotReload.UnitTests")] [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.SourceGen")] [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.Compatibility")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Core")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Embedding")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.UnitTests")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup.UnitTests")] [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.DeviceTests")] [assembly: Preserve] diff --git a/src/Core/src/Properties/AssemblyInfo.cs b/src/Core/src/Properties/AssemblyInfo.cs index eb1db1dee35d..b1b293cce36e 100644 --- a/src/Core/src/Properties/AssemblyInfo.cs +++ b/src/Core/src/Properties/AssemblyInfo.cs @@ -32,11 +32,6 @@ [assembly: InternalsVisibleTo("Core.Benchmarks")] [assembly: InternalsVisibleTo("Comet")] [assembly: InternalsVisibleTo("Comet.Tests")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Core")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.UnitTests")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup.UnitTests")] [assembly: InternalsVisibleTo("Reloadify-emit")] [assembly: InternalsVisibleTo("Microsoft.Maui.TestUtils.DeviceTests.Runners")] [assembly: InternalsVisibleTo("Microsoft.Maui.TestUtils.DeviceTests")] diff --git a/src/Essentials/src/AssemblyInfo/AssemblyInfo.shared.cs b/src/Essentials/src/AssemblyInfo/AssemblyInfo.shared.cs index 4a4ab0f715e2..82df4244e7e7 100644 --- a/src/Essentials/src/AssemblyInfo/AssemblyInfo.shared.cs +++ b/src/Essentials/src/AssemblyInfo/AssemblyInfo.shared.cs @@ -7,11 +7,6 @@ [assembly: InternalsVisibleTo("EssentialsDeviceTestsUWP")] [assembly: InternalsVisibleTo("EssentialsDeviceTestsShared")] [assembly: InternalsVisibleTo("EssentialsDeviceTestsiOS")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Core")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.UnitTests")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup")] -[assembly: InternalsVisibleTo("CommunityToolkit.Maui.Markup.UnitTests")] [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.Core.UnitTests")] [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.Xaml.UnitTests")] [assembly: InternalsVisibleTo("Microsoft.Maui.Compatibility.Core.UnitTests")]