This is actually super easy to do in XAML, but for whatever reason it caused me some trouble. I wanted a page to have a scrollable list of items that filled the screen, with a bottom row of buttons always visible. I could have used a StackPanel and set the height of the ListView so […]
XAML
Enabling Drag and Drop over a Grid in WPF
Recently I needed to enable drag and drop in a WPF application. The idea was to allow users to drop a file on the application window and the application would automatically open that file. Sounds simple, right? All it should take is to set the AllowDrop property to true on the Grid: <Grid HorizontalAlignment=”Stretch” DockPanel.Dock=”Top” […]