Skip to content

DevExpress-Examples/winforms-propertygrid-localize-property-display-names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Winforms Property Grid - Property display name localization

This example applies the System.ComponentModel.DisplayName attribute to properties to enable localization:

Winforms Property Grid - Property display name localization

public class Product {
    // ...
    [CustomDisplayNameAttribute("ProductCode")]
    public string ProductCode {
        get { return productCode; }
        set { productCode = value; }
    }
    [CustomDisplayNameAttribute("Name")]
    public string Name {
        get { return name; }
        set { name = value; }
    }
}

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)