共用方式為


Button.UpdateFormsText(String, TextTransform) Method

Definition

Applies the TextTransform to Text.

public:
 virtual System::String ^ UpdateFormsText(System::String ^ source, Microsoft::Maui::TextTransform textTransform);
public virtual string UpdateFormsText (string source, Microsoft.Maui.TextTransform textTransform);
abstract member UpdateFormsText : string * Microsoft.Maui.TextTransform -> string
override this.UpdateFormsText : string * Microsoft.Maui.TextTransform -> string
Public Overridable Function UpdateFormsText (source As String, textTransform As TextTransform) As String

Parameters

source
String

The text to transform.

textTransform
TextTransform

The transform to apply to source.

Returns

The transformed text.

Remarks

For internal use by the .NET MAUI platform mostly.

Applies to