0
在WPF中,我有ContentControl
,它的大小有限制(比如說100x30)。 A Content
這個ContentControl
是一個尺寸爲200x30的Label
,所以整個Label
在ContentControl
內不可見。在ContentControl中更改可見的矩形內容
如何以編程方式設置Label
的哪個區域在ContentControl
中可見?內容的可見區域(矩形)可能隨時間而改變。我可以做到這一點,而不使用ScrollViewer
(只是爲了設置可見剪輯)?
編輯:那麼,我甚至無法使用ScrollViewer
等任何建議將appriciated以及