or
Hi,
In the application we are developing we have a Raddocking control which hosts a RadSplitContainer, inside of which is a RadPaneGroup. This RadPaneGroup acts a region. RadPaneGroupRegionAdapter is used to add panes to the target (which is a RadPaneGroup in this case). Below is the adding logic that is being used. The problem is that I have to bring the first rad pane into focus. Is there a way to that. Right now whenever a new pane is added the focus shifts to the newly added pane.
Appreciate any pointers
Thanks
YK
region.Views.CollectionChanged += (s, e) =>
{
switch (e.Action)
{
case NotifyCollectionChangedAction.Add:
foreach (var i in e.NewItems)
{
if (i is RadPane)
{
(i as RadPane).CanUserClose = true;
target.Items.Add(i);
continue;
}
}
}
}
<
telerik:RadPane
Header
=
"Drills"
IsPinned
=
"False"
CanUserClose
=
"False"
ExpandedEvent
=
"MyExpandedEventHandler"
>
Thanks
Andy
<
telerik:RadDatePicker
DisplayFormat
=
"Long"
x:Name
=
"cobDatePicker"
Width
=
"150"
SelectableDateStart
=
"{Binding MinDate, Mode=OneWay}"
SelectableDateEnd
=
"{Binding MaxDate, Mode=OneWay}"
BlackoutDates
=
"{Binding DisabledDates, Mode=OneWay}"
ErrorTooltipContent
=
"Invalid Date!"
AutomationProperties.AutomationId
=
"CobDatePicker"
>
<
telerik:RadDatePicker.SelectedDate
>
<
Binding
Path
=
"CobDate"
Mode
=
"TwoWay"
ValidatesOnExceptions
=
"False"
UpdateSourceTrigger
=
"PropertyChanged"
>
<
Binding.ValidationRules
>
<
ExceptionValidationRule
/>
</
Binding.ValidationRules
>
</
Binding
>
</
telerik:RadDatePicker.SelectedDate
>
</
telerik:RadDatePicker
>