Hello everybody,
First, I want to indicate that I’m a beginner with your libraries.
I saw you annotation demo.
Actually I want to make something like that with some modifications. I tried to make invisible some properties existing in the Property Grid but I couldn’t.
Like I said I’m a beginner and I do my best to success my first project with vintasoft. So I ask your help please.
Thanks
PropertyGrid filter
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: PropertyGrid filter
Hello,
You can create derived class and "hide" unnecessary properties.
Here is an example:
Best regards, Alexander
You can create derived class and "hide" unnecessary properties.
Here is an example:
Code: Select all
using System;
using System.ComponentModel;
using Vintasoft.Annotation;
namespace AnnotationDemo
{
public class MyTextAnnotation : TextAnnotation
{
[Browsable(false)]
public new string Text
{
get { return base.Text; }
set { base.Text = value; }
}
}
}
-
- Posts: 2
- Joined: Tue Jul 06, 2010 1:38 pm
Re: PropertyGrid filter
Thanks Alex for your post
I will try it now
I will try it now