Partager via


AttributedTextBlock(String, ITextAttributes) Constructor

Definition

public:
 AttributedTextBlock(System::String ^ text, Microsoft::Maui::Graphics::Text::ITextAttributes ^ attributes);
public AttributedTextBlock (string text, Microsoft.Maui.Graphics.Text.ITextAttributes attributes);
new Microsoft.Maui.Graphics.Text.AttributedTextBlock : string * Microsoft.Maui.Graphics.Text.ITextAttributes -> Microsoft.Maui.Graphics.Text.AttributedTextBlock
Public Sub New (text As String, attributes As ITextAttributes)

Parameters

text
String
attributes
ITextAttributes

Applies to