Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click events do not work #9

Closed
jmawebtech opened this issue Oct 15, 2012 · 1 comment
Closed

Click events do not work #9

jmawebtech opened this issue Oct 15, 2012 · 1 comment

Comments

@jmawebtech
Copy link

@jmawebtech jmawebtech commented Oct 15, 2012

Hi,

My click events fail to occur with any element, using StringElement here as an example. Here is my code:

Activity1.cs

var st = new StringElement("Text label", "The Value");
st.Click = new Action(() => Console.WriteLine("Hello"));

        var root = new RootElement("Test Root Elem")
                       {
                           new Section("Test Header", "Test Footer")
                               {
                                   cityElement,
                                   new BooleanElement("Push my button", true),
                                   new BooleanElement("Push this too", false),
                                   st,
                                   new BooleanElement("Push my button", true),
                                   new BooleanElement("Push this too", false),
                               },
                           new Section("Part II")
                               {
                                   new StringElement("This is the String Element", "The Value"),
                                   new CheckboxElement("Check this out", true),
                                   new ImageElement(img),
                                   new HtmlElement("Go to Google.com","http://www.google.com")
                               }
                       };
@jmawebtech

This comment has been minimized.

Copy link
Author

@jmawebtech jmawebtech commented Oct 22, 2012

fixed with my pull to clanky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.