The following example demonstrates how to apply the fill style type editor to a property:
C# |
Copy Code
|
---|---|
// Fill Style property edited by the fill style editor [Editor(typeof(NFillStyleTypeEditor), typeof(UITypeEditor))] public NFillStyle FillStyle { get { return m_FillStyle; } set { m_FillStyle = value; } } |
Visual Basic |
Copy Code
|
---|---|
` Fill Style property edited by the fill style editor <Editor(GetType(NFillStyleTypeEditor), GetType(UITypeEditor))> _ Public Property FillStyle() As Nevron.GraphicsCore.NFillStyle Get Return m_FillStyle End Get Set(ByVal Value As Nevron.GraphicsCore.NFillStyle) m_FillStyle = Value End Set End Property |