Click here to Skip to main content
15,908,776 members
Home / Discussions / C#
   

C#

 
QuestionPropertyGrid fails to group a property marked as being in Category Behavior. Pin
Paw Jershauge6-Apr-10 2:16
Paw Jershauge6-Apr-10 2:16 
Hmm this is funny, I've made some classes with some properties, and I wanted them to be grouped into categories in the propertygrid. so ofcause I added the Category Attribute and set the value to Behavior, and wouldn't you know it, the PropertyGrid Groups it as Type ??? anyone ever seen this ??
Heres an sample class

public class Demo
{
    [Category("Behavior")]
    public int Total
    {
        get;
        set;
    }
}

Try display this in the PropertyGrid. perhaps its only my computer that makes this fault. WTF | :WTF: WTF | :WTF: WTF | :WTF:
With great code, comes great complexity, so keep it simple stupid...Shucks | :-\ Shucks | :-\

AnswerRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Eddy Vluggen6-Apr-10 5:31
professionalEddy Vluggen6-Apr-10 5:31 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Paw Jershauge6-Apr-10 8:11
Paw Jershauge6-Apr-10 8:11 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Eddy Vluggen6-Apr-10 9:18
professionalEddy Vluggen6-Apr-10 9:18 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Paw Jershauge6-Apr-10 11:10
Paw Jershauge6-Apr-10 11:10 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Eddy Vluggen6-Apr-10 16:23
professionalEddy Vluggen6-Apr-10 16:23 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Paw Jershauge6-Apr-10 20:44
Paw Jershauge6-Apr-10 20:44 
NewsRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Paw Jershauge6-Apr-10 22:12
Paw Jershauge6-Apr-10 22:12 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Eddy Vluggen6-Apr-10 23:11
professionalEddy Vluggen6-Apr-10 23:11 
AnswerRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Paw Jershauge13-Apr-10 10:37
Paw Jershauge13-Apr-10 10:37 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Eddy Vluggen13-Apr-10 11:09
professionalEddy Vluggen13-Apr-10 11:09 
GeneralRe: PropertyGrid fails to group a property marked as being in Category Behavior. Pin
Paw Jershauge13-Apr-10 12:24
Paw Jershauge13-Apr-10 12:24 
QuestionMessage Removed Pin
6-Apr-10 2:10
mrkeivan6-Apr-10 2:10 
AnswerRe: coding for a software which is gonna run on a server Pin
Pete O'Hanlon6-Apr-10 3:35
mvePete O'Hanlon6-Apr-10 3:35 
AnswerRe: coding for a software which is gonna run on a server Pin
PIEBALDconsult6-Apr-10 4:34
mvePIEBALDconsult6-Apr-10 4:34 
GeneralRe: coding for a software which is gonna run on a server Pin
mrkeivan6-Apr-10 7:25
mrkeivan6-Apr-10 7:25 
GeneralRe: coding for a software which is gonna run on a server Pin
PIEBALDconsult6-Apr-10 9:13
mvePIEBALDconsult6-Apr-10 9:13 
QuestionHow i can create dvdplayer in directshow? Pin
Nematjon Rahmanov6-Apr-10 1:44
Nematjon Rahmanov6-Apr-10 1:44 
QuestionPanel array [modified] Pin
peropata6-Apr-10 1:36
peropata6-Apr-10 1:36 
AnswerRe: Panel array Pin
WillemM6-Apr-10 4:49
WillemM6-Apr-10 4:49 
GeneralRe: Panel array [modified] Pin
peropata6-Apr-10 7:39
peropata6-Apr-10 7:39 
QuestionHow to get DataGridView Checkbox Checked or not ! [modified] Pin
Sr...Frank6-Apr-10 1:16
Sr...Frank6-Apr-10 1:16 
AnswerRe: How to get DataGridView Checkbox Checked or not ! Pin
Eddy Vluggen6-Apr-10 3:41
professionalEddy Vluggen6-Apr-10 3:41 
GeneralRe: How to get DataGridView Checkbox Checked or not ! Pin
Sr...Frank6-Apr-10 4:22
Sr...Frank6-Apr-10 4:22 
GeneralRe: How to get DataGridView Checkbox Checked or not ! Pin
Eddy Vluggen6-Apr-10 4:59
professionalEddy Vluggen6-Apr-10 4:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.