Hi All,
Need little help here.
About SeletedAppt background:
I am using theme like the online demo.
<
telerik:Windows7Theme
x:Key
=
"Theme"
/>
<
telerik:RadScheduleView
telerik:StyleManager.Theme="{StaticResource Theme} … …>
When I selected the Appt(s) the background color is not big difference with it before be selected. How do change that by simple way.
About ConfirmDialog:
When I click delete button on Ribbon (online demo first look),the DeleteConfirmDialog popup,But you don’t know which Appt to be deleted, because maybe selected Appt not on current page(view window).So my question is how do I add selectedAppt`s subject to ConfirmDialog.
When you start dragging from a connector, a Link object is immediately created and added to the diagram. I would argue that the link is added too early since it's not live until you release the mouse, but that aside! When you do release the mouse on another connector, we need to update our internal representation of the flow diagram. Hence, it makes sense to connect source and target since that is what happened. Now...
This function seems to be what we are looking for. However, target is always null (since the link is created too early :P).
public override ILink CreateLink(object source, object target)
At some point we need to know which two connectors were connected. Where do we find such an event/method override? Our best bet so far is overriding the ConnectionManipulationCompleted event, but it seems we cannot determine which two connectors were actually linked:
private void diagram_ConnectionManipulationCompleted(object sender, ManipulationRoutedEventArgs e)
{
if (e.ManipulationStatus == ManipulationStatus.Attaching)
{
var startShape = e.Connection.Source as MyShape;
var endShape = e.Connector.Shape as MyShape;
// WHICH connectors where connected?
...
}
}
If we drag from Node1.Left to Node2.Right we ought to get this piece of information. How? (Note that we have our custom connectors.
<
telerik:RadNumericUpDown
Value
=
"{Binding NumberProperty, Mode=TwoWay}"
/>
public
double
NumberProperty
{
get
{
return
_NumberProperty; }
set
{
if
(_NumberProperty != value)
{
_NumberProperty = value;
OnPropertyChanged();
}
}
}
private
double
_NumberProperty = 25.56365;