Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Visual Studio ソリューションのイメージ フォルダーにイメージをアップロードしました。
XAMLではなくVB.netコードビハインドを使用して、テキストボックスの背景をこの画像に設定するにはどうすればよいですか?
どうも。
これを使って :
textbox.Background = New ImageBrush(New BitmapImage(New Uri("ImagePath", UriKind.Relative)))
ImagePath画像のパスに置き換えます。
ImagePath