Share via


NamePropertyAttribute.NamePropertyDisplayFormat Property

Gets the Display Format that will be used to display the name property.
The Display Format should be a Format-string with 1 argument: The token '{0}' will be replaced with the Name Properties value.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
Public Property NamePropertyDisplayFormat As String
public string NamePropertyDisplayFormat { get; set; }
public:
property String^ NamePropertyDisplayFormat {
    String^ get ();
    void set (String^ value);
}
public function get NamePropertyDisplayFormat () : String
public function set NamePropertyDisplayFormat (value : String)

See Also

NamePropertyAttribute Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace