Is there a RadGeometryButton delete button? Im using the 'new' and 'layout' RadGeometryButton's buttons and also need one for delete? A standard button will look out of place here so im hoping theres a nice pretty RadGeometryButton delete button...
3 Answers, 1 is accepted
0
Hi Brett,
You can take a look at our Swimlane Diagram demo which includes a delete RadGeometryButton. You can find this demo in the demos page under the Diagrams --> Swimlane section. In addition here is the code for the button from the demo:
Please let me know if the provided information helps and if you need any further assistance.
Regards,
Martin
Telerik
You can take a look at our Swimlane Diagram demo which includes a delete RadGeometryButton. You can find this demo in the demos page under the Diagrams --> Swimlane section. In addition here is the code for the button from the demo:
<
telerik:RadGeometryButton
Grid.Column
=
"8"
Command
=
"telerik:DiagramCommands.Delete"
CommandTarget
=
"{Binding ElementName=diagram}"
Content
=
"delete"
Geometry
=
"M13,8.98689C12.4477,8.98689 12,9.43461 12,9.9869L12,17.987C12,18.5393 12.4477,18.987 13,18.987C13.5523,18.987 14,18.5393 14,17.987L14,9.9869C14,9.43461 13.5523,8.98689 13,8.98689zM9,8.98689C8.44772,8.98689 8,9.43461 8,9.9869L8,17.987C8,18.5393 8.44772,18.987 9,18.987C9.55228,18.987 10,18.5393 10,17.987L10,9.9869C10,9.43461 9.55228,8.98689 9,8.98689zM5,8.98689C4.44772,8.98689 4,9.43461 4,9.9869L4,17.987C4,18.5393 4.44772,18.987 5,18.987C5.55228,18.987 6,18.5393 6,17.987L6,9.9869C6,9.43461 5.55228,8.98689 5,8.98689zM2,6.02091L16,6.02091L16,6.85235L16,18.987L16,19.938L16,19.987C16,20.5393 15.5523,20.987 15,20.987L3,20.987C2.44772,20.987 2,20.5393 2,19.987L2,19.938L2,18.987L2,6.85235zM0,2.826L18,2.826L18,4.83918L0,4.83918zM6,0L12,0L12,2L6,2z"
ToolTipService.ToolTip
=
"delete"
/>
Please let me know if the provided information helps and if you need any further assistance.
Regards,
Martin
Telerik
DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!
0
Brett
Top achievements
Rank 1
answered on 22 May 2014, 04:50 AM
Thanks! How about a Search button?
0
Hi Brett,
Please, note that the RadGeometryButtons from our Diagram demos uses Geometries to draw their images. We have few predefined geometries, which you can see in the Shapes help article, but we don't have one for a search button. In general if you want a button with a Search icon you can create your own PathGeometry or add a native Image element as a Content of the button.
Regards,
Martin
Telerik
Please, note that the RadGeometryButtons from our Diagram demos uses Geometries to draw their images. We have few predefined geometries, which you can see in the Shapes help article, but we don't have one for a search button. In general if you want a button with a Search icon you can create your own PathGeometry or add a native Image element as a Content of the button.
Regards,
Martin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.