Hello!
I have a problem with Layout in RadDiagram. While using this example after applying Layout() method to my diagram (Sample.jpg), arrangement of layers and connections between them became very strange. Examples of applying Tree-down and Tree-up layouts are in the files TreeDown.jpg and TreeUp.jpg respectively.
Is it possible to place layers applying Layout() method, according to their connection?
Thank You!
Hi, II have a RadListBox with an attached DragDropBehavior and a custom itemTemplate:
<
telerik:RadListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
TextBox
Text
=
"{Binding Name}"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadListBox.ItemTemplate
>
Technically everything works as expected, apart of the fact that reordering elements via drag&drop is nearly impossible.
Replacing the TextBox with a TextBlock fixes the issue but, of course, is not a viable option: the "Name" property should be editable...
Any advice on this?
<
telerik:RadCalendar
x:Name
=
"calendar"
>
<
telerik:RadContextMenu.ContextMenu
>
<
telerik:RadContextMenu
Opened
=
"RadContextMenu_Opened"
>
<
telerik:RadMenuItem
Header
=
"Copy"
/>
<
telerik:RadMenuItem
Header
=
"Paste"
/>
<
telerik:RadMenuItem
Header
=
"Cut"
/>
</
telerik:RadContextMenu
>
</
telerik:RadContextMenu.ContextMenu
>
</
telerik:RadCalendar
>
private
void
RadContextMenu_Opened(
object
sender, RoutedEventArgs e)
{
var calendarButton = (sender
as
RadContextMenu).GetClickedElement<CalendarButton>();
if
(calendarButton !=
null
)
{
var calendarButtonContent = calendarButton.Content
as
CalendarButtonContent;
if
(calendarButtonContent !=
null
)
{
var clickedDate = calendarButtonContent.Date;
}
}
}
i also want to do that on RadScheduleView so i can only use the ContextMenu on the empty slots or appointment.
Hi ,
I have a RadGridView, and add three GridViewCheckBoxColumn in it, I want every GridViewCheckBoxColumn have different GridViewCheckBox style(not in EditorStyle ) in ​view mode. But i don't know how to set it. I only know how to set a common style for all three of GridViewCheckBoxColumn .
so ...can you tell me how to do it? thanks so much!
Hi, I am using WPF telerik RadCartesanchart and a Radlegend control which is bound to the chart's legend Items property. It is working, but I would like to have the chart in the same way but legends to be displayed in reverse order, Could someone help me on this?
Thank you,
Kannan M
Related to a GridView but the cell is a MAskedInput, so not sure which forum it should belong.
I want to have a dynamic Mask. My current mask at the moment can take in a phone number or anything. May I ask how abouts do I go doing that?
http://www.telerik.com/forums/dynamically-change-mask
public class MyClass
{
public string aName ...
public List<
float
> aList ...
....
}
public
partial
class
Myobjects : Page
{
public
Myobjects()
{
InitializeComponent();
radPropertyGrid1.Item =
new
Customer();
}
public
class
Customer
{
[Browsable(
false
)]
public
int
Id {
get
;
set
; }
public
string
Name {
get
;
set
; }
}
}