an error occur while adding font property into property grid using xml serialization

Chitra Panicker
Chitra Panicker used Ask the Experts™
on
I can't add font property into property grid through xml.
it's show serialization error. how to do this vb.net ?

Private _windowFont As Font = New Font("Arial", 8, FontStyle.Regular)
   Public Property FontName() As Font
       Get
           Return _win[embed=file 1328036]dowFont
        End Get
        Set(ByVal Value As Font)
            _windowFont = Value
        End Set
    End Property

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial