Search found 3 matches

by vinick
28 Mar 2024, 08:53
Forum: General Discussion
Replies: 1
Views: 203

Problem with ListBox scrolling

Hi all. I have ListBox scrolling with the mouse wheel not working unless the cursor is over the ListBoxItem area. Example: <Page.Resources> <Style x:Key="ListItemSt" TargetType="ListBoxItem"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Grid x:Name=&qu...
by vinick
22 Feb 2023, 20:08
Forum: General Discussion
Replies: 1
Views: 247

Positioning element at screen coordinates

Hello. I'm trying to implement HUD markers. <Grid x:Name="WorkGrid"> <Ellipse x:Name="DestinationMarker" Width="55" Height="55" Background="Transparent" Margin="{Binding DestinationMarkerMargin}" Visibility="{Binding DestinationMarkerV...
by vinick
26 Jul 2021, 16:15
Forum: General Discussion
Replies: 1
Views: 5415

Problem with TextBox focus and background

I am trying to make a dialog box to enter a string. But my TextBox does not respond to the mouse and keyboard in any way. In addition, it has a strange background that I can't change. Although in Microsoft Blend xaml it displays normally and responds to the keyboard. What am I doing wrong? XAML: <Pa...