开发者

Creating a round button

开发者 https://www.devze.com 2023-02-26 02:37 出处:网络
In my wp7 app, I use C# to create user interface. I want to create a round button in C# not in xaml. is it possible to do that only in C# (not with the help of xaml)开发者_如何学C ? if yes, how to do

In my wp7 app, I use C# to create user interface. I want to create a round button in C# not in xaml. is it possible to do that only in C# (not with the help of xaml)开发者_如何学C ? if yes, how to do this? and also please explain how to change a style of a button or any other control by using C# code?


Yes you can but don't know why you'd want to. Much easier to do with styles. Even easier to use one from an existing toolkit.

There is a round button in the Coding4Fun Phone Toolkit.

Get it via NuGet or download it here

0

精彩评论

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