将“最小值”设置为“最小值”不是零,会导致“无渲染”。对于屏幕 [英] Setting slider Minimum to other than zero, causes a "no render" for the Screen

查看:127
本文介绍了将“最小值”设置为“最小值”不是零,会导致“无渲染”。对于屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是XAML  < Slider x:Name =" tAirSlider_Copy"余量= QUOT; 78,0,0,103" Style =" {StaticResource Slider-Sketch}"高度= QUOT; 25" VerticalAlignment = QUOT;底座"的Horizo​​ntalAlignment = QUOT;左"宽度= QUOT; 58"的ValueChanged = QUOT; CALC1"最大= QUOT; 20"最小值="0">

Here's the XAML  <Slider x:Name="tAirSlider_Copy" Margin="78,0,0,103" Style="{StaticResource Slider-Sketch}" Height="25" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="58" ValueChanged="Calc1" Maximum="20" Minimum="0">

如果我将最小值更改为任何正数,则会构建SF,但不显示屏幕。 负数工作正常

If I change the Mimimum to any positive number, SF builds, but does not display the screen.  Negative numbers work fine

推荐答案

我在WPF和SL SketchFlow项目中尝试了这个并且看起来工作正常,是否有其他可能导致问题? ValueChanged处理程序可能吗?  是否显示例外情况?  您的项目是WPF还是SL?
I tried this in both WPF and SL SketchFlow projects and it seems to work fine, is there something else that might be causing the problem? The ValueChanged handler possibly?  Is there an exception shown?  Is your project WPF or SL?


这篇关于将“最小值”设置为“最小值”不是零,会导致“无渲染”。对于屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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