c# - DataGridView Using Microsoft Surface SDK -
i using visualstudio 2010 microsoft's surface sdk 2. have c# wpf project trying implement touch-responsive datagrid wrapped surfacescrollviewer. scrolling touch works when grid empty, once grid gets populated, highlight events of datagrid take over. has encountered , know of solution?
here sample xaml:
<grid> <my:surfacescrollviewer horizontalalignment="stretch" name="surfacescrollviewer" verticalalignment="stretch" horizontalcontentalignment="stretch" verticalcontentalignment="stretch" > <datagrid name="datagrid" verticalalignment="stretch" horizontalalignment="stretch" itemssource="{binding path=dataview}" rowheight="35" verticalscrollbarvisibility="hidden" horizontalscrollbarvisibility="hidden" headersvisibility="none" fontsize="16" fontweight="bold" canuserresizerows="false" arerowdetailsfrozen="true" canuserreordercolumns="false" canuserresizecolumns="false" canusersortcolumns="false" focusable="true" /> </my:surfacescrollviewer> </grid>
Comments
Post a Comment