問題タブ [xaml-binding]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
1016 参照

c# - How to bind ToolTip content in a custom textblock styles property setter

I am trying to create a textblock that shows a tooltip of the textblock's text when its being trimmed. I have the actual visibility part of this taken care of in a converter. My problem is binding the ToolTip's content to its partent textblock's text. I have been fiddling with different relative paths for awhile now and can never get anything but a blank tooltip. The text shows up fine when I want if I hardcode something in the tooltips content.

0 投票する
0 に答える
325 参照

xaml - Xamarin フォームで CommandParameter としてページを送信する

MasterDetailPage に Button があり、ViewModel から MasterDetailPage の Detail プロパティを変更できるように、MasterDetailPage を CommandParameter として Button コマンドに送信したいと考えています。私がこれにアプローチしている場合は、私に知らせてください。

マスター詳細ページ

ビューモデル