We recommend reviewing our guide

2026-04-21T02:13:23.9833333+00:00

on writing a quality question to help you clearly summarize your issue and provide the details needed for helpful answers.

if (auto clientPresenter = m_clientAreaPresenter.as<xaml::IFrameworkElement>();
	clientPresenter)
{
	winrt::check_hresult(clientPresenter->put_Height(static_cast<int32_t>(m_targetContentRect.Height)));
	winrt::check_hresult(clientPresenter->put_Width(static_cast<int32_t>(m_targetContentRect.Width)));
}
开发人员技术 | C++
开发人员技术 | C++

一种通用的高级编程语言,作为 C 编程语言的扩展而创建,除了用于低级别内存操作的功能外,还具有面向对象、泛型和功能性等特点。

0 个注释 无注释

你的答案

提问者可以将答案标记为“已接受”,审查方可以将答案标记为“已推荐”,这有助于用户了解答案是否解决了提问者的问题。