-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Added docs for DragDrop Events and Key Events #2650
base: develop
Are you sure you want to change the base?
Added docs for DragDrop Events and Key Events #2650
Conversation
@@ -131,7 +131,9 @@ protected virtual void OnSizeChanged(EventArgs e) | |||
public const string KeyDownEvent = "Control.KeyDown"; | |||
|
|||
/// <summary> | |||
/// Occurs when a key has been pressed and is down | |||
/// Occurs when a key has been pressed and is down. | |||
/// Focus is required for this event to be raised. Ensure CanFocus is set to true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CanFocus is only on a Drawable. Other controls intrinsically can get focus like TextBox, TextArea, DropDown, CheckBox, etc when they are Enabled
@@ -1213,11 +1218,11 @@ public Window ParentWindow | |||
public IEnumerable<string> SupportedPlatformCommands => Handler.SupportedPlatformCommands; | |||
|
|||
/// <summary> | |||
/// Specifies a command to execute for a platform-specific command | |||
/// Specifies a command to execute for a Mac platform-specific command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would also be used for any other platform that has similar needs, not just Mac. Even though it is only useful for Mac at this point.
I'm using Eto more and more so I'm going to try and improve docs for things that confused me