ComponentFactory / Krypton

Krypton WinForms components for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accessing public properties on a Krypton Page

stigzler opened this issue · comments

commented
Hi. Firstly - truly awesome library - especially as it's free - good on you in this greedy age!

I can't access public properties on a KryptonPages. e.g.:

```
Public Class DatabaseEditorPage
    Inherits KryptonPage

    Public Stig As New Button

End Class

Public Class Main
     Dim PageDatabaseEditor As KryptonPage = New DatabaseEditorPage
     Public Sub New()
           PageDatabaseEditor.Stig.Text = "Shazaam"
     End Sub
End Class
```
`PageDatabaseEditor.Stig.Text` does not compile as the property isn't available. Could you advise?
commented

Dim PageDatabaseEditor As DatabaseEditorPage= New DatabaseEditorPage
(Shoot me now)