Syntax Error

Code samples and hints

Disable the scroll functionality on the GridView

A GridView within a ScrollViewer results in unwanted mouse wheel behaviour. 

Disable the scroll functionality on the GridView:

<ControlTemplate x:Key="GridViewWithoutScrolling" TargetType="GridView">
        <Border BorderBrush="{TemplateBinding BorderBrush}"
        		Background="{TemplateBinding Background}"
        		BorderThickness="{TemplateBinding BorderThickness}">
            <ItemsPresenter
        				Header="{TemplateBinding Header}" 
        				HeaderTemplate="{TemplateBinding HeaderTemplate}"
        				HeaderTransitions="{TemplateBinding HeaderTransitions}"
        				Padding="{TemplateBinding Padding}"/>
        </Border>
    </ControlTemplate>
Kommentare sind geschlossen