or
DragDropManager.AddDragInitializeHandler(xToolBar1, OnDragInitialize);
DragDropManager.AddGiveFeedbackHandler(xToolBar1, OnGiveFeedback);
<Style TargetType="ScrollBar" BasedOn="{StaticResource {x:Type ScrollBar}}"/>
private void ContractProxyGridView_CurrentCellChanged(object sender, GridViewCurrentCellChangedEventArgs e)
{
if (e.NewCell == null || e.NewCell.ParentRow == null) return;
e.NewCell.ParentRow.IsCurrent = true;
}
In xaml file I define the template like this:
I'm using the RegionAdapter from the following article.
http://blogs.telerik.com/blogs/posts/09-08-31/using_the_raddocking_control_with_prism.aspx
However, I'm using PRISM 4 + MVVM + MefBootstrapper.
Has anybody successfully used the RegionAdapter with MefBootstrapper?
I'm getting the following error message...
this
.Container.Resolve
Error 1 'System.ComponentModel.Composition.Hosting.CompositionContainer' does not contain a definition for 'Resolve' and the best extension method overload 'Microsoft.Practices.Unity.UnityContainerExtensions.Resolve<T>(Microsoft.Practices.Unity.IUnityContainer, params Microsoft.Practices.Unity.ResolverOverride[])'
Thank you
protected
override
RegionAdapterMappings ConfigureRegionAdapterMappings()
{
var mappings =
base
.ConfigureRegionAdapterMappings();
mappings.RegisterMapping(
typeof
(RadPaneGroup),
this
.Container.Resolve<RadPaneGroupRegionAdapter>());
return
mappings;
}