TextAttributes 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TextAttributes() | |
TextAttributes(IDictionary<TextAttribute,String>) | |
TextAttributes(IReadOnlyDictionary<TextAttribute,String>, IReadOnlyDictionary<TextAttribute,String>) |
TextAttributes()
public:
TextAttributes();
public TextAttributes ();
Public Sub New ()
适用于
TextAttributes(IDictionary<TextAttribute,String>)
public:
TextAttributes(System::Collections::Generic::IDictionary<Microsoft::Maui::Graphics::Text::TextAttribute, System::String ^> ^ dictionary);
public TextAttributes (System.Collections.Generic.IDictionary<Microsoft.Maui.Graphics.Text.TextAttribute,string> dictionary);
new Microsoft.Maui.Graphics.Text.TextAttributes : System.Collections.Generic.IDictionary<Microsoft.Maui.Graphics.Text.TextAttribute, string> -> Microsoft.Maui.Graphics.Text.TextAttributes
Public Sub New (dictionary As IDictionary(Of TextAttribute, String))
参数
- dictionary
- IDictionary<TextAttribute,String>
适用于
TextAttributes(IReadOnlyDictionary<TextAttribute,String>, IReadOnlyDictionary<TextAttribute,String>)
public:
TextAttributes(System::Collections::Generic::IReadOnlyDictionary<Microsoft::Maui::Graphics::Text::TextAttribute, System::String ^> ^ first, System::Collections::Generic::IReadOnlyDictionary<Microsoft::Maui::Graphics::Text::TextAttribute, System::String ^> ^ second);
public TextAttributes (System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute,string> first, System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute,string> second);
new Microsoft.Maui.Graphics.Text.TextAttributes : System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute, string> * System.Collections.Generic.IReadOnlyDictionary<Microsoft.Maui.Graphics.Text.TextAttribute, string> -> Microsoft.Maui.Graphics.Text.TextAttributes
Public Sub New (first As IReadOnlyDictionary(Of TextAttribute, String), second As IReadOnlyDictionary(Of TextAttribute, String))
参数
- second
- IReadOnlyDictionary<TextAttribute,String>