阿瓦隆控制时间选择器 [英] avalon control timepicker

查看:89
本文介绍了阿瓦隆控制时间选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我想在小时,分钟和秒上添加前导零.

I want to add leading zeros to hours, minutes and seconds.

且不影响功能.例如,如果选择器当前是00:00:00,并且假设我在小时部分并单击,则我希望它是01:00:00.等等.

 without affecting functionality. for example if picker is currently 00:00:00 and assuming i am in hours part and clicked up, i want it to be 01:00:00. and so on for all parts.

请帮助.

推荐答案

您好,PowerShell新手,

Hello new-to-powershell,

您应该具有用于​​控制的 Format 属性.您需要将其设置为 hh:mm:ss

You should have a Format property for your control. You need to set it to hh:mm:ss


这篇关于阿瓦隆控制时间选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆