Phoney Tools v0.7 Released


Url: http://phoney.codeplex.com

Phoney Logo

We're marching towards MIX11 and the Phoney Tools will be ready. The new version is now available that includes a couple of new features and a few bug fixes.  The changes include:

InputPanelProvider

I find it painful to play the trial-and-error approach when specifying the InputScope of a TextBox. To alleviate this I've created an attached property where you can specify what you require from an input scope and have it assigned for you.  To use this you simply apply an attached property called InputPanelProvider.Requirements. This attached property allows you to include an InputPanelRequirements object which specifies what features you need from an InputScope.  You can see it at work here:

<TextBox>
  <pt:InputPanelProvider.Requirements>
    <pt:InputPanelRequirements AutoCorrect="true"
                               KeyboardType="AlphanumericInitialCap"
                               SpecialKeys="Chat" />
  </pt:InputPanelProvider.Requirements>
</TextBox>

EnumHelper

This class allows you to handle Enumerations in an easier 

// Get Names returns an array of strings 
// for all the values in an enumeration
IEnumerable<string> names =  
  EnumHelper.GetNames<InputPanelKeyboard>();

// Parse (Generic) used to convert a 
// name back to an Enumeration value:
var value = 
  EnumHelper.Parse<InputPanelKeyboard>("Default");

I generously 'borrowed' the GetNames implementation from a StackOverflow question so I want to thank the original author since they haven't responded to my emails ;)

Bug Fixes

The big change was to change the margin on the SelectSwitch control to help make it reduce failed tapping on the control.

Let me know if you any questions about the toolkit! 




Application Name WilderBlog Environment Name Production
Application Ver 2.0.0.0 Runtime Framework .NETCoreApp,Version=v2.0
App Path D:\home\site\wwwroot\ Runtime Version .NET Core 4.6.25815.02
Operating System Microsoft Windows 6.2.9200 Runtime Arch X86