Is there a way to extract active theme settings from the StyleManager?
Cheers, Rob.
<
Window.Resources
>
<
Style
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
Grid
>
<
Border
Name
=
"Border"
Background
=
"LightBlue"
BorderBrush
=
"Black"
BorderThickness
=
"1,1,1,1"
CornerRadius
=
"6,6,0,0"
>
<
ContentPresenter
x:Name
=
"ContentSite"
Margin
=
"12,2,12,2"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
ContentSource
=
"Header"
/>
</
Border
>
</
Grid
>
<
ControlTemplate.Triggers
>
<
Trigger
Property
=
"IsSelected"
Value
=
"True"
>
<
Setter
TargetName
=
"Border"
Property
=
"Background"
Value
=
"LightBlue"
/>
</
Trigger
>
<
Trigger
Property
=
"IsSelected"
Value
=
"False"
>
<
Setter
TargetName
=
"Border"
Property
=
"Background"
Value
=
"LightGray"
/>
</
Trigger
>
</
ControlTemplate.Triggers
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Window.Resources
>
Hello
Do I get it right, that when I receive following exception, that means that somewhere my ```INotifyDataErrorInfo.GetErrors``` returns null instead of empty list?
```
System.ArgumentNullException: Value cannot be null.
Parameter name: collection
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at Telerik.Windows.Controls.GridViewBoundColumnBase.GetDataErrorValidationErrors(Object dataItem, String propertyName, GridViewValidationType gridViewValidationType)
at Telerik.Windows.Controls.GridViewBoundColumnBase.GetValidationErrors(Object dataItem, String propertyName)
at Telerik.Windows.Controls.GridView.GridViewCell.GetDataErrors()
at Telerik.Windows.Controls.GridView.GridViewCell.UpdateIsValidState()
at Telerik.Windows.Controls.GridView.GridViewDataControl.Telerik.Windows.Data.IWeakEventListener<System.ComponentModel.DataErrorsChangedEventArgs>.ReceiveWeakEvent(Object sender, DataErrorsChangedEventArgs args)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
```
Hi
I'm attempting to set the TextAlignment property of a GridViewExpressionColumn at runtime. The property is set correctly but the change is not reflected in the grid. The same change to a GridViewDataColumn works as I would expect - the alignment is set visually on the screen straight away.
var col =
this
.RadGridView.Columns[0];
col.TextAlignment = TextAlignment.Right;
I have found that it the column is removed and re-inserted it will work correctly:
var col =
this
.RadGridView.Columns[0];
this
.RadGridView.Columns.Remove(col);
col.TextAlignment = TextAlignment.Right;
this
.RadGridView.Columns.Insert(0, col);
Is this a bug? Or am I missing something?
Regards
Dave
Hello:
We have several SVG icons designed by company, but we cannot find a way to use them on Robbon buttons,
Is there any solution that we can use .svg for button icon?
Thanks!
I'm getting a strange pause during the animation of a callout? See code below:
Private
Sub
imHelpEnhanceDistance_MouseDown(sender
As
Object
, e
As
MouseButtonEventArgs)
Handles
imHelpEnhanceDistance.MouseDown
Try
Dim
clCodeCallout
As
New
RadCallout()
With
clCodeCallout
.FontSize = 10
.Content =
"My helpful Text Message"
.Width = 210
.Height = 70
.TextWrapping = TextWrapping.Wrap
.Background = Brushes.DarkGreen
.Foreground = Brushes.White
End
With
Dim
clSettings
As
New
CalloutPopupSettings()
With
clSettings
.Placement = System.Windows.Controls.Primitives.PlacementMode.Top
.CanPopupExceedScreen =
True
.ShowAnimationDuration = 0.55D
.ShowAnimationEasing =
New
BounceEase()
With
{.EasingMode = EasingMode.EaseOut, .Bounces = 20, .Bounciness = 5}
.CloseAnimationEasing =
New
CircleEase()
With
{.EasingMode = EasingMode.EaseOut}
.CloseAnimationDuration = 0.3D
.ShowAnimationType = CalloutAnimation.Move
.CloseAnimationType = CalloutAnimation.Move
.AutoClose =
True
End
With
CalloutPopupService.Show(clCodeCallout, TryCast(sender, FrameworkElement), clSettings)
Catch
ex
As
Exception
Log.Write(ex)
End
Try
End
Sub
Hi
I am wondering if it is possible to use the clustering features available in RadMap to be able to group moving map markers?
For example 1) Two vehicles driving next to each other along a road show as a moving cluster
For example 2) Two vehicles driving towards each other on a road, cluster when close to each other, then separate when they have passed each other
In both examples, can the cluster(s) be recalculated when marker locations change so that the cluster marker moves / de-clusters as appropriate?
I understand that the clustering features work great with static markers (like in the 'airports' example) and I understand that clusters can be regenerated on a map zoom but I cannot see a way to regenerate, move and possibly break-up a cluster on a marker location change.
Am I missing something obvious?
Thanks
Hello,
This already appears with previous release and is still visible with the current one: it seems that the stylesheet is missing as no formatting is applied to the text...
Currently a DayViewDefinition in RadScheduleView is
<telerik:DayViewDefinition MinorTickLength="30min" MajorTickLength="2h" />
I am trying to achieve a different tick interval value before midday and another tick interval value after midday
For example
For 6 AM to 12 PM, we are looking to set 10 minute slot and after 12 PM we are looking to set 9 minute slot
Can this achieved somehow ?