Initialization
Opened this issue ยท 4 comments
serkol commented
The correct initialization code:
SimpleImageButton.SimpleImageButton.Initializator.Initializator.Init();
Took me some time to figure this out.
mariusmuntean commented
Hi,
Isn't this like the documentation describes it? ๐ค
I mean if you expand any of the Init sections.
You can get rid of the first SimpleImageButton
in your code by adding a using
statement in your file.๐
serkol commented
No, it's not. One " SimpleImageButton." is missing.
On Monday, February 10, 2020, 11:50:44 AM EST, Marius M. <notifications@github.com> wrote:
Hi,
Isn't this like the documentation describes it?
I mean if you expand any of the Init sections. You can get rid of the first SimpleImageButton in your code by adding a using statement in your file.
โ
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
mariusmuntean commented
Weird.
You can create a PR to fix the documentation and help everyone else.
I'll merge it from the phone ๐
serkol commented
Hi,
Another issue: the button should not do anything when it's disabled. Now it does the visual "pressed" effect and loses it's "disabled" appearance.
File: SimpleImageButton.xaml.cs
Method: public void ConsumeEvent(EventType gestureType)
Should not do anything if not IsEnabled
Regards,
Serge
On Monday, February 10, 2020, 12:02:56 PM EST, Marius M. <notifications@github.com> wrote:
Weird.
You can create a PR to fix the documentation and help everyone else.
I'll merge it from the phone ๐
โ
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.