共用方式為


TextBox.MaxLengthProperty 屬性

定義

識別 MaxLength 相依性屬性。

public:
 static property DependencyProperty ^ MaxLengthProperty { DependencyProperty ^ get(); };
static DependencyProperty MaxLengthProperty();
public static DependencyProperty MaxLengthProperty { get; }
var dependencyProperty = TextBox.maxLengthProperty;
Public Shared ReadOnly Property MaxLengthProperty As DependencyProperty

屬性值

MaxLength 相依性屬性的標識符。

適用於