RadGeometryButton Delete

4 posts, 0 answers
  1. Brett
    Brett avatar
    14 posts
    Member since:
    Feb 2014

    Posted 04 Mar 2014 Link to this post

    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...
  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 06 Mar 2014 Link to this post

    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:
    <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!

  3. UI for WPF is Visual Studio 2017 Ready
  4. Brett
    Brett avatar
    14 posts
    Member since:
    Feb 2014

    Posted 21 May 2014 in reply to Martin Link to this post

    Thanks! How about a Search button?
  5. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 26 May 2014 Link to this post

    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
     
    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.
     
Back to Top