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/ILineHeightElementInternal.cs b/src/Controls/src/Core/ILineHeightElementInternal.cs new file mode 100644 index 000000000000..3d60765ef6be --- /dev/null +++ b/src/Controls/src/Core/ILineHeightElementInternal.cs @@ -0,0 +1,15 @@ +#nullable disable +using System; +using System.ComponentModel; + +namespace Microsoft.Maui.Controls.Internals +{ + [EditorBrowsable(EditorBrowsableState.Never)] + [Obsolete("This interface is obsolete and will be removed in a future version. Use Microsoft.Maui.Controls.ILineHeightElement instead.")] + interface ILineHeightElement + { + double LineHeight { get; } + + void OnLineHeightChanged(double oldValue, double newValue); + } +} \ No newline at end of file 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..5510be121462 100644 --- a/src/Controls/src/Core/Properties/AssemblyInfo.cs +++ b/src/Controls/src/Core/Properties/AssemblyInfo.cs @@ -128,7 +128,7 @@ [assembly: StyleProperty("visibility", typeof(VisualElement), nameof(VisualElement.IsVisibleProperty), Inherited = true)] [assembly: StyleProperty("width", typeof(VisualElement), nameof(VisualElement.WidthRequestProperty))] [assembly: StyleProperty("letter-spacing", typeof(ITextElement), nameof(TextElement.CharacterSpacingProperty), Inherited = true)] -[assembly: StyleProperty("line-height", typeof(ILineHeightElement), nameof(LineHeightElement.LineHeightProperty), Inherited = true)] +[assembly: StyleProperty("line-height", typeof(Microsoft.Maui.Controls.ILineHeightElement), nameof(LineHeightElement.LineHeightProperty), Inherited = true)] //flex [assembly: StyleProperty("align-content", typeof(FlexLayout), nameof(FlexLayout.AlignContentProperty))] 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 27b332dfaa95..4ed6417f6313 100644 --- a/src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt @@ -23,7 +23,25 @@ Microsoft.Maui.Controls.DatePicker.MaximumDate.get -> System.DateTime? Microsoft.Maui.Controls.DatePicker.MinimumDate.get -> System.DateTime? 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 8045f70def49..1ab494099c5b 100644 --- a/src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt @@ -105,6 +105,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 5c4527a13da9..ffdce228b153 100644 --- a/src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt @@ -105,6 +105,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 b87c5a3642af..01d0db218ec8 100644 --- a/src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt @@ -23,7 +23,25 @@ Microsoft.Maui.Controls.DatePicker.MaximumDate.get -> System.DateTime? Microsoft.Maui.Controls.DatePicker.MinimumDate.get -> System.DateTime? 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 b85afc7ab6a2..38a349339253 100644 --- a/src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt @@ -23,7 +23,25 @@ Microsoft.Maui.Controls.DatePicker.MaximumDate.get -> System.DateTime? Microsoft.Maui.Controls.DatePicker.MinimumDate.get -> System.DateTime? 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 11835a7df105..8038f482493d 100644 --- a/src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt @@ -23,7 +23,25 @@ Microsoft.Maui.Controls.DatePicker.MaximumDate.get -> System.DateTime? Microsoft.Maui.Controls.DatePicker.MinimumDate.get -> System.DateTime? 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 b91292a84baf..99da32f9d634 100644 --- a/src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt +++ b/src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt @@ -23,7 +23,22 @@ Microsoft.Maui.Controls.DatePicker.MaximumDate.get -> System.DateTime? Microsoft.Maui.Controls.DatePicker.MinimumDate.get -> System.DateTime? 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? @@ -31,6 +46,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