云南 网站建设网站,网站app用什么语言开发,网站搭建公司哪家好,做物流网站的公司吗上一篇文章已经提前预告了今天要分享的效果,今天接着上一篇的效果接着去实现,还是先来看最终实现的效果:1、关于简单的布局设计:总结#xff1a;①③是Expander②④⑤⑥是ListBox2、把上一篇的②这一块用ListBox替换:Expander Grid.Column1 ExpandDirection①③是Expander②④⑤⑥是ListBox2、把上一篇的②这一块用ListBox替换:Expander Grid.Column1 ExpandDirectionLeft Header控制卡 VerticalAlignmentBottom HorizontalAlignmentRightStyle{DynamicResource LeftExpanderStyle} BackgroundTransparentListBox Style{StaticResource SignalCardListBox} ItemsSource{Binding VideoCard.SignalDistributionCards}/
/Expander3、然后就是最爱的ItemContainerStyleStyle x:KeySignalCardListBoxItemStyle TargetType{x:Type ListBoxItem}Setter PropertySnapsToDevicePixels ValueTrue/Setter PropertyPadding Value0/Setter PropertyBackground ValueTransparent/Setter PropertyBorderBrush Value#282BFF/Setter PropertyBorderThickness Value1/Setter PropertyMargin Value4,4,4,0/Setter PropertyFocusVisualStyle Value{x:Null}/Setter PropertyTemplateSetter.ValueControlTemplate TargetType{x:Type ListBoxItem}Expander Header信号分配卡 Style{DynamicResource ExpanderStyle} VerticalAlignmentBottom Padding0ListBox Style{StaticResource BoxBodyListListBox} ItemsSource{Binding BoxBodys}//Expander/ControlTemplate/Setter.Value/Setter
/Style4、ListBox的ItemsPanelItemsPanelTemplate x:KeySignalCardItemsPanelTemplateVirtualizingStackPanel OrientationHorizontal/
/ItemsPanelTemplate5、至于⑤⑥的ListBox就没什么可说的了最终简单的效果先这样吧;以后有时间的话,可以再去摸索一下更复杂的效果;编程不息、Bug不止、无Bug、无生活;改bug的冷静、编码的激情、完成后的喜悦、挖坑的激动 、填坑的兴奋;这也许就是屌丝程序员的乐趣吧;今天就到这里吧;希望自己有动力一步一步坚持下去;生命不息,代码不止;大家抽空可以看看今天分享的效果,有好的意见和想法,可以在留言板随意留言;我看到后会第一时间回复大家,多谢大家的一直默默的关注和支持!如果觉得不错,那就伸出您的小手点个赞并关注一下,多谢您的支持