Search Results

Search found 2 results on 1 pages for 'charvak'.

Page 1/1 | 1 

  • Can we change the text/background color of an individual property in PropertyGrid

    - by Charvak
    I have a .NET PropertyGrid control which displays properties of some class. I want to change the color or font or background color(it doesn't matter just that they look different from the other displayed properties) of some property. I can do with writing custom editor but I was wondering If an easier method exists? If I use custom editor then how do i change the editor of built-in types like bool, int etc. Thanks

    Read the article

  • Missing MethodInfo for overloaded function with different return type

    - by Charvak
    I have a class defined as follows interface ITest { List<T> Find<T>(int i); } class Test: ITest { public T List<T> Find<T>(int i) { return default(T); } List<T> ITest.Find<T>(int i) { return null; } } When I use typeof(Test).GetMethods() (both with and without appropriate BindingFlags) I do not get the MethodInfo for ITest.Find function. What is the best way of getting the MethodInfo for the missing method? Thanks

    Read the article

1