Skip to content

Commit

Permalink
Supported MouseAction.None in xaml (#8871)
Browse files Browse the repository at this point in the history
  • Loading branch information
MauNguyenVan authored Jun 24, 2024
1 parent baffbb6 commit fd32311
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo c
MouseAction mouseAction = MouseAction.None;
switch (mouseActionToken)
{
case "NONE" : mouseAction = MouseAction.None; break;
case "LEFTCLICK" : mouseAction = MouseAction.LeftClick; break;
case "RIGHTCLICK" : mouseAction = MouseAction.RightClick; break;
case "MIDDLECLICK" : mouseAction = MouseAction.MiddleClick; break;
Expand Down

0 comments on commit fd32311

Please sign in to comment.