腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(1864)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
ActualHeight
/ ActualWidth
我对ActualWidth或
ActualHeight
是如何工作的,或者它是如何计算出来的,感到有点困惑。ImageBrush ImageSource="Images/Hand.png" /></Ellipse> 当我使用上面的代码时,我得到了ActualWidth和
ActualHeight
但是当我以编程方式定义一个椭圆时,ActualWidth和
ActualHeight
是0,即使我定义了(最大)高度和(最大)宽
浏览 3
修改于2013-06-13
得票数 2
回答已采纳
1
回答
ActualHeight
绑定不更新
我正在尝试设置到FrameworkElement的
ActualHeight
的绑定。它似乎只更新一次,但在那之后就再也不更新了。如果我挂钩LayoutUpdated,您可以看到
ActualHeight
正在更改,但它没有更新绑定。<Grid x:Name="LayoutRoot" Background="White"> <TextBlock Text="{Binding
ActualHeight
, ElementName=LayoutRoot}" /
浏览 3
修改于2013-06-15
得票数 1
回答已采纳
1
回答
网格的
ActualHeight
没有更改
Storyboard.TargetProperty="Height" To="{Binding ElementName=txt0, Path=
ActualHeight
}"在动画期间和动画完成后,网格的
Act
浏览 3
提问于2014-04-15
得票数 0
回答已采纳
4
回答
绑定到项目
ActualHeight
的ItemsControl
所以,如果我能把左边的第二项绑定到右边的第二项的
ActualHeight
上,问题就解决了。我如何在XAML中做到这一点?
浏览 7
修改于2013-06-16
得票数 8
回答已采纳
4
回答
StackPanel.
ActualHeight
总是零
panel = new StackPanel();Title = panel.
ActualHeight
.ToString(); 但
ActualHeight
也是零。
浏览 1
修改于2014-03-09
得票数 3
回答已采纳
1
回答
ActualHeight
生长但不收缩
由于项目的高度可能不同,我将Line的Y2属性绑定到属于Grid的StackPanel的
ActualHeight
。Stroke="{StaticResource ButtonOutlineBrush}" X1="8" X2="8" Y1="0" Y2="{Binding
ActualHeight
浏览 2
提问于2017-09-26
得票数 0
回答已采纳
0
回答
从Contentpresenter获取
ActualHeight
/ActualWidth
在那之后,我做了一些研究,发现我需要获取FrameworkElement.ActualWidth和FrameworkElement.
ActualHeight
,但我无法访问它们。FrameworkElement.ActualWidth"/> <Binding ElementName="CadContent" Path="FrameworkElement.
ActualHeight
--<TextBlock Text="{B
浏览 7
提问于2018-07-17
得票数 0
0
回答
Webview中的
ActualHeight
和ActualWidth
我用XAML创建了一个webview控件,做了同样的事情,但在这种情况下,
ActualHeight
和ActualWidth是500。webView_LoadCompleted(object sender, NavigationEventArgs e) // Here, when I debug _webview
ActualHeight
浏览 8
提问于2017-12-05
得票数 0
回答已采纳
2
回答
无法检索ContentPresenter的ActualWidth /
ActualHeight
这个函数返回一个ActualWidth和
ActualHeight
属性为0的ContentPresenter对象。我希望这两个属性的值为24,因为我的内容由一个24x24的矩形组成。我的问题是,如何通过只有一个视图模型来检索我期望的值(ActualWidth和
ActualHeight
为24)?如果有更好的办法,我洗耳恭听。 耽误您时间,实在对不起。
浏览 5
修改于2013-06-13
得票数 1
回答已采纳
1
回答
绑定到
ActualHeight
不起作用
Some test text"/> Width="{Binding Source=StopText, Path=
ActualHeight
Height="20" </Canvas> 问题是我可能不能绑
浏览 1
修改于2013-06-15
得票数 2
回答已采纳
2
回答
绑定到
ActualHeight
的位置
我使用elementBinding来获取
ActualHeight
,并使用一个转换器来反转属性。但是发送到转换器的高度是0。 Canvas.Top="{Binding ElementName=MenuList, Path=
ActualHeight
浏览 3
修改于2013-06-15
得票数 2
回答已采纳
2
回答
Scrollviewer
ActualHeight
超出屏幕分辨率
当我执行this.UpdateLayout (在UserControl中)时,scrollviewer.
ActualHeight
转到2332,它与其中的图像大小相同,并且超出了屏幕的分辨率。
浏览 2
修改于2013-06-15
得票数 0
回答已采纳
1
回答
为什么将
ActualHeight
设置为NaN?
我是Silverlight的新手,我只是想问一下为什么我的
ActualHeight
设置为NaN?它的宽度和高度都是500,但是在编译时,它会给出一个错误,说明
ActualHeight
等于NaN。
浏览 4
修改于2013-06-15
得票数 2
回答已采纳
2
回答
如何绑定弹出式
ActualHeight
NotifyOnTargetChanged="True"> <Binding Mode="OneWay" RelativeSource={RelativeSource Self}
浏览 0
修改于2014-01-22
得票数 0
1
回答
如何数据绑定父堆栈的
ActualHeight
我想要完成的是绑定包含
ActualHeight
的StackPanel (堆栈面板没有固定大小),以便在UserControl中实现WrapPanel的正确行为。我试过Height="{Binding ElementName=MyStackPanel, Path=
ActualHeight
}"和Height="{Binding RelativeSource={RelativeSourceFindAncestor, AncestorType={x:Type StackPanel}}, Path=
ActualHeight</em
浏览 0
修改于2015-04-03
得票数 0
回答已采纳
1
回答
如何设置行中断直到
ActualHeight
of RichEditBox?
var oldActualHeight = PATH_RICH_EDIT_BOX.
ActualHeight
; while (PATH_RICH_EDIT_BOX.
ActualHeight
<= oldActualHeight
浏览 3
修改于2017-08-02
得票数 0
1
回答
VM中自动高行
ActualHeight
的跟踪
<RowDefinition Height="Auto"
ActualHeight
="{Binding RowHeight, Mode="OneWayToSource"}"/>知道怎么做吗?谢谢。
浏览 3
提问于2014-08-07
得票数 1
回答已采纳
1
回答
如何获得内容控制内容的
ActualHeight
?
From="0" To="{Binding ElementName=MainContent, Path=
ActualHeight
浏览 2
修改于2013-08-27
得票数 1
回答已采纳
1
回答
覆盖ActualWidth和
ActualHeight
依赖属性
但是,ActualWidth和
ActualHeight
属性不会返回正确的值,这就是两个点之间的差异。有没有一种方法可以在派生类中覆盖这些属性,以及如何执行此操作。我需要使用ActualWidth和
ActualHeight
属性,因为我使用的算法将这些属性用于其他形状。
浏览 4
修改于2013-06-13
得票数 2
回答已采纳
1
回答
自定义控件的ActualWidth /
ActualHeight
</StackPanel> </ControlTemplate></Setter>我遇到的问题是,
ActualHeight
浏览 2
修改于2016-06-09
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券