Telerik Forums
UI for WPF Forum
4 answers
2.5K+ views

Hi,

I have some questions to know the best practice to reuse styles overriding theme's ones.

My solution is organized as this:

    - The main exe is in Smag.MSH.csproj

    - My custom controls are in Smag.UI.Wpf

   - All the styles are defined in Smag.Styles.csproj

I'm using implicit themes, so Smag.Style embeds:

  - xaml files from Windows 8 theme for all used controls

  - xaml files overriding default themes for some controls
   eg: in MyRadGridView.xaml

      <Style x:Key="NoBorderGridView" BasedOn="{StaticResource {x:Type telerik:RadGridView}}" TargetType="{x:Type telerik:RadGridView}">

 

The main exe merge the theme's and my own resources like this:

<Application.Resources>
  <ResourceDictionary>
    <ResourceDictionary.MergedDictionaries>
      <!--  telerik all the corresponding xaml are included here  -->
      <ResourceDictionary Source="pack://application:,,,/Smag.MSH.Style;component/Telerik/System.Windows.xaml" />
      <ResourceDictionary Source="pack://application:,,,/Smag.MSH.Style;component/Telerik/Telerik.Windows.Controls.GridView.xaml" />

     <!--  The real list is cut for brievity  -->

      <!--  Own controls styles  -->
      <ResourceDictionary Source="pack://application:,,,/Smag.MSH.Style;component/ControlsStyles/MyRadGridView.xaml" />

 

What is the best pratices to reuse all the styles (theme's default one en those i have overrided) in Smag.UI.Wpf ?

The default style are currently not found:

<Style BasedOn="{StaticResource RadListBoxStyle}" TargetType="{x:Type local:ListBox}" />

Raise an error saying RadListBoxStyle is not found, but the right xaml is included in app.xaml

Event using this way, it doesn't work:

<Setter Property="Background" Value="{telerik:Windows8Resource ResourceKey={x:Static telerik:Windows8ResourceKey.MainBrush}}" />

 

As it's a DLL, there is no app.xaml to merge ressources, doing it in each control like this seems to me not being performant:

<ResourceDictionary xmlns="..." xmlns:x="..." xmlns:i="..." xmlns:local="clr-namespace:Smag.UI.Wpf.Controls" xmlns:telerik="...">
   <ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Data.xaml" />
    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Input.xaml" />
 </ResourceDictionary.MergedDictionaries></p>

 

Thanks for some more guidelines, the official documentation is not enough.

 

Sia
Telerik team
 answered on 09 Feb 2018
9 answers
876 views
Hello,

i'm looking for hours for a working guide to add a custom theme for some controls (for example the scheduler) and using it in my application.
I want to make a new theme based on the metro theme.

The howto's i found arn't working ... for example
http://www.telerik.com/support/kb/wpf/scheduler/how-to-implement-a-new-custom-theme-in-a-few-steps.aspx

And this link is broken
http://www.telerik.com/help/wpf/common-styling-apperance-themes-custom-theme-project-telerik-approach.html

I hope anybody can tell me how it works?

My version is "RadControls for WPF Q2 2012"

I look forward to your answers!
Martin
Telerik team
 answered on 09 Feb 2018
2 answers
597 views
Hello,
I've just converted our application which uses implicit styling over to use the Fluent theme. It looks great (in light) but i'd like to use the dark theme. The main page uses a docking control but i don't know what colour to set the page background to. is there a telerik resource i can bind to in order to get the correct colour?
If I use 'PrimaryBackgroundColor' it looks great in white (with the drop shadows) but not so good in black.

I've also noticed that some of your controls now use 'fluentresourceextension' in order to bind to the colour. Is this something i can use for the background so that i can maybe change between light and dark scheme at runtime?
Thanks
Andy
Martin
Telerik team
 answered on 09 Feb 2018
4 answers
275 views

Hello,

We have an issue about the VisualizationLayer control fo RadMap, we are currently on version 2016 R3

We try to display +1500 data in a country with smooth performance when moving or zooming, but actually we tried a lot of things and nothing change.

 

We started to use InformationLayer and it was perfectly smooth but all points were on top of each other and it was ugly.

So we change to VisualizationLayer, while setting ItemsSource + Clustering enabled:

- Dataloading was correct

- Moving was smooth (in same zoom)

- But Zooming in or out was extremely slow and froze everything for some seconds

 

Then we added GenerateClustersOnZoom = false

It helps a little when its zooming but at the end we have the same freeze as before when it actually refresh all clusters

And let some clusters on the map (I don't know why)

 

We also tried with a VirtualizationSource, it was a little better but still far from the behavior of the InformationLayer

 

What do we need to do to have Clustering as fast as the InformationLayer in term of moving/zooming on the map ?

Or why the clustering is so time consuming ?

 

Regards

Petar Mladenov
Telerik team
 answered on 09 Feb 2018
3 answers
456 views

Is there any way to specify the column type and/or templates/editors for a column when autogenerating columns?

I am currently using the DisplayAttribute and a custom attribute with a behavior to manage column specific things that the DisplayAttribute does not support. If there is no way to support this, I figure I could add a TemplateSelector type to the GridColumnDisplayAttribute for the edit template. If this is the only way are there any links/projects showing how I can achieve this for complex controls and bindings like an autocomplete?

An example of what I am using now:

01.private bool isSelected = true;
02.    [Display(Name = "Selected", Order = 0)]
03.    [GridColumnDisplay(CanHide = false, Width = 25, Resizeable = false, TextAlignment = TextAlignment.Center)]
04.    public bool IsSelected
05.    {
06.      get => isSelected;
07.      set => this.SetValue(ref isSelected, value);
08.    }
09. 
10.    private string name;
11.    [Display(ResourceType = typeof(Resources.Properties.Resources), Name = ResourceKeys.GridHeader_AccountName)]
12.    public string AccountName
13.    {
14.      get => name;
15.      set => this.SetValue(ref name, value);
16.    }

 

1.<telerik:RadGridView ItemsSource="{Binding Accounts}">
2.  <i:Interaction.Behaviors>
3.    <gridBehaviors:GridColumnsBehavior />
4.  </i:Interaction.Behaviors>
5.</telerik:RadGridView>

 

Thanks,
Maurice

Maurice
Top achievements
Rank 1
 answered on 08 Feb 2018
2 answers
201 views

I've got a WPF C# application in which I have many RadComboBoxes.  Sometimes when  I fire it up and click on one of the combo boxes, my entire application hangs.  Sometimes it does not.  It *seems* that if I wait long enough before clicking the dropdown, it doesn't happen.  And I have a lot of other initialization going on so that would make some sense.  But I can't figure out howBut it has happened in both release and debug mode.

When I break into the debugger I see the main thread all locked up in combase.dll.  I have attempted to attach the complete stack track to this messsage but since it won't let me attach a txt file I couldn't get a snapshot of the whole thing.  So I also pasted the entire stack trace in text form at the bottom of this message.

None of the other threads in the entire application is doing anything.  They don't have anything locked that I can see. I went through every single one. Not a single one of them has a stack trace more then 4 or 5 calls deep.  They're all at the start of their thread processes.

The action (in the main thread stack track) appears to start with Telerik RadToggleButton.OnClick.  Here is the line in the main thread stack trace

     Telerik.Windows.Controls.dll!Telerik.Windows.Controls.RadToggleButton.OnClick()UnknownNo symbols loaded.


I don't know where to go with this.  I cannot make it happen in a simple, standalone app.  My app has background work going on but, as I said, none of the threads are doing anything.   

Any idea where to go from here?

 

The Stack Trace:

 

win32u.dll!NtUserMsgWaitForMultipleObjectsEx()UnknownSymbols loaded.
user32.dll!RealMsgWaitForMultipleObjectsEx()UnknownSymbols loaded.
combase.dll!CCliModalLoop::BlockFn(void * * ahEvent=0x0000009e70bf9060, unsigned long cEvents=1, unsigned long * lpdwSignaled=0x0000009e70bf90a0)C++Symbols loaded.
combase.dll!ModalLoop(CSyncClientCall * pClientCall=0x000001b4c8f86a20)C++Symbols loaded.
combase.dll!ClassicSTAThreadDispatchCrossApartmentCall(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0, OXIDEntry * pOXIDEntry, CSyncClientCall * pClientCall=0x000001b4c8f86a20)C++Symbols loaded.
[Inline Frame] combase.dll!CSyncClientCall::SwitchAptAndDispatchCall(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0)C++Symbols loaded.
combase.dll!CSyncClientCall::SendReceive2(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0, unsigned long * pstatus=0x0000009e70bf9778)C++Symbols loaded.
[Inline Frame] combase.dll!SyncClientCallRetryContext::SendReceiveWithRetry(tagRPCOLEMESSAGE *)C++Symbols loaded.
[Inline Frame] combase.dll!CSyncClientCall::SendReceiveInRetryContext(SyncClientCallRetryContext *)C++Symbols loaded.
combase.dll!ClassicSTAThreadSendReceive(CSyncClientCall * pClientCall=0x000001b4c8f86a20, tagRPCOLEMESSAGE * pMsg=0x0000009e70bf9ae0, unsigned long * pulStatus=0x0000009e70bf9778)C++Symbols loaded.
combase.dll!CSyncClientCall::SendReceive(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0, unsigned long * pulStatus=0x0000009e70bf9778)C++Symbols loaded.
[Inline Frame] combase.dll!CClientChannel::SendReceive(tagRPCOLEMESSAGE *)C++Symbols loaded.
combase.dll!NdrExtpProxySendReceive(void * pThis=0x0000009e70bf9f20, _MIDL_STUB_MESSAGE * pStubMsg=0x0000009e70bf98f0)C++Symbols loaded.
rpcrt4.dll!NdrpClientCall3()UnknownSymbols loaded.
combase.dll!ObjectStublessClient(void * ParamAddress=0x0000009e70bf9f50, __int64 * FloatRegisters=0x0000009e70bf9f20, long Method)C++Symbols loaded.
combase.dll!ObjectStubless()UnknownSymbols loaded.
combase.dll!CObjectContext::InternalContextCallback(HRESULT(*)(void *) pfnCallback=0x00007fff83986700, void * pParam=0x0000000000000201, const _GUID & riid={...}, int iMethod=2, IUnknown * pUnk=0x0000000000000000)C++Symbols loaded.
combase.dll!CGIPTable::GetInterfaceFromGlobal(unsigned long dwCookie, const _GUID & riid={...}, void * * ppv=0x0000009e70bfa1d0)C++Symbols loaded.
[Inline Frame] combase.dll!GetInterfaceFromStdGlobal(unsigned long)C++Symbols loaded.
combase.dll!CProcessActivator::GetApartmentActivator(ActivationPropertiesIn * pInActProperties=0x0000009e70bfa720, ISystemActivator * * ppActivator=0x0000009e70bfa1d0)C++Symbols loaded.
combase.dll!CProcessActivator::CCICallback(unsigned long dwContext=0, IUnknown * pUnkOuter=0x0000000000000000, ActivationPropertiesIn * pActIn=0x0000009e70bfa720, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!CProcessActivator::AttemptActivation(ActivationPropertiesIn * pActIn, IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210, HRESULT(CProcessActivator::*)(unsigned long, IUnknown *, ActivationPropertiesIn *, IActivationPropertiesIn *, IActivationPropertiesOut * *) pfnCtxActCallback=0x00007fff839ca400, unsigned long dwContext=1)C++Symbols loaded.
combase.dll!CProcessActivator::ActivateByContext(ActivationPropertiesIn * pActIn=0x0000009e70bfa720, IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210, HRESULT(CProcessActivator::*)(unsigned long, IUnknown *, ActivationPropertiesIn *, IActivationPropertiesIn *, IActivationPropertiesOut * *) pfnCtxActCallback=0x00007fff839ca400)C++Symbols loaded.
combase.dll!CProcessActivator::CreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!ActivationPropertiesIn::DelegateCreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesOut * * ppActPropsOut=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!CClientContextActivator::CreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!ActivationPropertiesIn::DelegateCreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesOut * * ppActPropsOut=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!ICoCreateInstanceEx(const _GUID & OriginalClsid, IUnknown * punkOuter=0x0000000000000000, unsigned long dwClsCtx=1, _COSERVERINFO * pServerInfo=0x0000000000000000, unsigned long dwCount=1, unsigned long dwActvFlags=16384, tagMULTI_QI * pResults=0x0000009e70bfb6f0, ActivationPropertiesIn * pActIn=0x0000009e70bfa720)C++Symbols loaded.
combase.dll!CComActivator::DoCreateInstance(const _GUID & Clsid={...}, IUnknown * punkOuter=0x0000000000000000, unsigned long dwClsCtx=1, _COSERVERINFO * pServerInfo=0x0000000000000000, unsigned long dwCount=1, tagMULTI_QI * pResults=0x0000009e70bfb6f0, ActivationPropertiesIn * pActIn=0x0000000000000000)C++Symbols loaded.
[Inline Frame] combase.dll!CoCreateInstanceEx(const _GUID &)C++Symbols loaded.
combase.dll!CoCreateInstance(const _GUID & rclsid={...}, IUnknown * pUnkOuter=0x0000000000000000, unsigned long dwContext=1, const _GUID & riid, void * * ppv=0x0000009e70bfb798)C++Symbols loaded.
UIAutomationCore.dll!BlockingCoreDispatcher::CreateAndRegisterBlockingCore(void)UnknownSymbols loaded.
UIAutomationCore.dll!BlockingCoreDispatcher::FinalConstruct(void)UnknownSymbols loaded.
UIAutomationCore.dll!CUIAutomation7::FinalConstruct(void)UnknownSymbols loaded.
UIAutomationCore.dll!ATL::CComObject<class CUIAutomation7>::CreateInstance(class ATL::CComObject<class CUIAutomation7> * *)UnknownSymbols loaded.
UIAutomationCore.dll!UiaReturnRawElementProvider()UnknownSymbols loaded.
UIAutomationProvider.ni.dll!00007fff4f60a933()UnknownNo symbols loaded.
[Managed to Native Transition]Annotated Frame
UIAutomationProvider.dll!System.Windows.Automation.Provider.AutomationInteropProvider.ReturnRawElementProvider(System.IntPtr hwnd, System.IntPtr wParam, System.IntPtr lParam, System.Windows.Automation.Provider.IRawElementProviderSimple el)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.Popup.PopupSecurityHelper.ForceMsaaToUiaBridge(System.Windows.Controls.Primitives.PopupRoot popupRoot)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.Popup.CreateWindow(bool asyncCall)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp, object value, System.Windows.PropertyMetadata metadata, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType, bool isInternal)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value)UnknownSymbols loaded.
Telerik.Windows.Controls.dll!Telerik.Windows.Controls.AutoClosePopupWrapper.IsOpen.set(bool value)UnknownNo symbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.OpenDropDownInternal()UnknownNo symbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.OnIsDropDownOpenChanged(bool oldValue, bool newValue)UnknownNo symbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.OnIsDropDownOpenChanged(System.Windows.DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e)UnknownNo symbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp, object value, System.Windows.PropertyMetadata metadata, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType, bool isInternal)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value)UnknownSymbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.DropDownButtonClick(object sender, System.Windows.RoutedEventArgs e)UnknownNo symbols loaded.
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.RoutedEventArgs}, bool reRaised = false)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.RoutedEventArgs})UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnClick()UnknownSymbols loaded.
Telerik.Windows.Controls.dll!Telerik.Windows.Controls.RadToggleButton.OnClick()UnknownNo symbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs e)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs}, bool reRaised = true)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs}, System.Windows.RoutedEvent newEvent)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.OnMouseDownThunk(object sender, System.Windows.Input.MouseButtonEventArgs e)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {System.Windows.Controls.TextBlock}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs}, bool reRaised = false)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender = {System.Windows.Controls.TextBlock}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs})UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs})UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea()UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd = 0x0000000000901c48, MS.Internal.Interop.WindowMessage msg = WM_LBUTTONDOWN, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee, ref bool handled = false)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd = 0x0000000000901c48, int msg, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee, ref bool handled = false)UnknownSymbols loaded.
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd = 0x0000000000901c48, int msg, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee, ref bool handled = false)UnknownSymbols loaded.
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler = null)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs)UnknownSymbols loaded.
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd = 0x0000000000901c48, int msg, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee)UnknownSymbols loaded.
[Native to Managed Transition]Annotated Frame
user32.dll!UserCallWinProcCheckWow()UnknownSymbols loaded.
user32.dll!DispatchMessageWorker()UnknownSymbols loaded.
WindowsBase.ni.dll!00007fff1d2bbd98()UnknownNo symbols loaded.
[Managed to Native Transition]Annotated Frame
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame = {System.Windows.Threading.DispatcherFrame})UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window)UnknownSymbols loaded.
GelSight.Mobile.exe!GelSight.Mobile.App.Main()UnknownSymbols loaded.
[Native to Managed Transition]Annotated Frame
mscoreei.dll!_CorExeMain()UnknownSymbols loaded.
mscoree.dll!_CorExeMain_Exported()UnknownSymbols loaded.
kernel32.dll!BaseThreadInitThunk()UnknownSymbols loaded.
ntdll.dll!RtlUserThreadStart()UnknownSymbols loaded.



Joe
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 08 Feb 2018
3 answers
95 views

In my project, I want to modify the XAML template of the GridView (Literally I only need to change the colors of the Windows8TouchPallete, but I want to do it in XAML not code behind). So, I extracted the XAML template from the Themes.Implicit (I'm using the NoXAML binaries) and included the template as a resource.

The XAML designer shows an error "ArgumentNullException: Key cannot be null. Parameter name: key" when ever I build the project.

I have created a VERY SIMPLE project that reproduces the issue, zipped it up and uploaded it to Dropbox if you would like to take a look at the issue.

https://www.dropbox.com/s/wk94vf6a9k3mz54/TestDataGridTheme.zip?dl=0

Any help is appreciated. Alternatively, if there is a way to modify the Windows8TouchPallete from XAML (in an external XAML file is preferred) then, I would rather do that.

 

 

 

Dilyan Traykov
Telerik team
 answered on 08 Feb 2018
1 answer
128 views

I am having an issue where on non Win10 clients the popups are completely transparent which leads to unreadable lists in the column filter control.  This is my main area of concern.  Is there anyway to override the background of that control, and if so can you provide an example?

 

Thanks!

Sia
Telerik team
 answered on 08 Feb 2018
1 answer
232 views

Hi; 

I had try to change a text "Close" on close button RadDateTimePicker without success. First i used Blend , but i get som error and second i tried to add Culture to the local language. 

What can i do more.

Salutation

Muheto

Dilyan Traykov
Telerik team
 answered on 07 Feb 2018
1 answer
231 views

Hi All,

 

How can I prevent RadMaskedTextInput from wrapping onto a second line if the text is too long to fit in the space available. What I would like is for the text to scroll horizontally.

Many thanks

Dilyan Traykov
Telerik team
 answered on 07 Feb 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?