开发者

Is there an equivalent of mt.dialog for WPF?

开发者 https://www.devze.com 2023-03-02 18:08 出处:网络
It would be great to use the structures used in mt.dialog across multiple platforms. In particular, I wou开发者_如何学运维ld like to be able to auto-generate WPF-based forms using class members like s

It would be great to use the structures used in mt.dialog across multiple platforms. In particular, I wou开发者_如何学运维ld like to be able to auto-generate WPF-based forms using class members like so:

    [Entry (KeyboardType=UIKeyboardType.Url, Placeholder="n/a")]
    public string Url;

    [Entry (Placeholder="n/a")]
    public string Terms;

    [Entry (Placeholder="Your feedback")]
    public string Feedback;

    [Entry (KeyboardType=UIKeyboardType.EmailAddress, Placeholder="Your email address")]
    public string Email;

    [RadioSelection("Mood")]
    public Moods Mood;


Why would there be an equivalent to any mono-control in WPF? This sort of question would make sense if you ask for equivalents between Silverlight and WPF which are both developed by Microsoft but not if you are dealing with a framework independently developed by some 3rd party.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号