AttributedTextBlock(String, ITextAttributes) 构造函数

定义

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)

参数

text
String
attributes
ITextAttributes

适用于