我如何在我的路径中心设置MyPathListBox.SelectedIndex(0) [英] how can i Set MyPathListBox.SelectedIndex(0) in Center my path

查看:55
本文介绍了我如何在我的路径中心设置MyPathListBox.SelectedIndex(0)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
在PathListBox中,我创建了一个

hi everyone
in PathListBox i created a

PathListBoxItemStyle

,我放了一个
其中的

and i put a

PathListBoxItemTransformer


然后我在
上打勾

in that
then i ticked

PathListBoxItemTransformer.IsCentered=True


但是我该如何设置


but how can i Set

MyPathListBox.SelectedIndex(0)

在我的路径居中
请帮助我
谢谢

in Center my path
please help me
thanks

推荐答案

首先感谢您的答复
但我希望SelectedIndex(0)位于我的路径的中心
我该如何设置
first thank you for your response
but i want SelectedIndex(0) be in center my path
how can i set it


设置PathListBox对象的Horizo​​ntalAlignment-属性
set HorizontalAlignment-property of PathListBox object


这篇关于我如何在我的路径中心设置MyPathListBox.SelectedIndex(0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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