Draggable properties window on Canvas

Hello, in my application I am drawing selectable basic shapes like line ellipse rectangle inside a Canvas control. When user selects these control I want to display a draggable properties window showing different properties like color/width/size for that
shape. This property window should move inside the Canvas when user drags the window. User can select multiple shapes and multiple properties windows can be visible,for,user.
How I can display a property window when user selects the control.

There are several options for property editing.
Coincidentally I'm working on a sample presents one way and lists some alternatives:
https://gallery.technet.microsoft.com/WPF-Property-List-Editing-a9780412
One of those ought to do the job.
The other question is how you show this.
You can make  a popup appear in a position relative to a control.
That's one option.
<Popup IsOpen="True" PlacementTarget="{Binding ElementName=yourshape}"
Placement="Bottom">
http://msdn.microsoft.com/en-us/library/bb613596(v=vs.110).aspx
That IsOpen controls whether you see the popup or not.
Bind that to something like maybe IsSelected if you have that on your shapes and it'll appear as the user selects, disappear as they de select.
You didn't ask, but those resize handle thingummies you see in the visual studio designer on controls are adorners.
You could possibly do something similar and make the adorners appear as a shape is selected ( as well ).
Please don't forget to upvote posts which you like and mark those which answer your question.
My latest Technet article - Dynamic XAML

Similar Messages

  • Unable to view components in Object Browser & Properties window- Xcelsius

    Hi - I have prepared a dashboard which consits of many labels and just a few components. But as I proceed with taking more components on the dashboard ,I am unable to see the components  in the object browser and properties window (it is just visible placed on the canvas but not visible in obj browser and Property window)....can any1 suggest the reason and how to proceed ?

    HI,
    Check in the object browser, whether there is any group element. if all your components are grouped, then they will appear under that group. if you click on any component which is grouped the property window of the group will be displayed.
    if you want to see the propery of each individual component, in the object browser-- expand the node and double click the component to see its properties.
    hope this helps
    uma

  • Auto shape properties window doesn´t refresh values

    hi,
    after installing creative suite 4 on my new pc i have a big problem. the auto shape properties window in fireworks doesn´t refresh the values of my shape. if i select the shape i have to close the panel and open it again to get the right values. if i select on shape and then another one, i have to do the same. this is really annoying.
    here a little demonstration: http://gate8.de/jeeeee/2013-03-13_1810.swf
    i uninstalled fireworks, deleted preferences folder, updated graphic driver and finally called the support but they "coundn´t" help because the product is too old
    i hope you can help.
    thx a lot!
    Jens

    Hopefully, you realize you can edit the Auto Shapes directly on the canvas. Hovering over a "yellow diamond" will reveal a tooltip telling what property it adjusts.
    It sounds like there's a communication problem between the panel and the canvas/application. The Auto Shape Properties panel is a SWF panel that resides in the application's Configuration/Command Panels folder. Other SWF panels include Align, Path, Symbol Properties, Image Editing, Special Characters, and Color Palette. I wonder if any of these other panels are affected?
    It seems like there's been a lot of problems with Flash-based panels conflicting with other apps or plug-ins. Try quitting and restarting the application with no other applications running in the background. Also check out something like this: http://forums.adobe.com/message/3931126

  • How do I get the shape/line 'properties window' on Photoshop sc4. (mac)  It shows it on the help videos but I cannot find it?

    How do I get the shape/line 'properties window' on Photoshop sc4. (mac)  It shows it on the help videos but I cannot find it?

    For a crisp border of any color or any size, Just expand the "Canvas" by 0.5 inches or whatever dimension your file needs.

  • Photoshop CC Live Shapes Properties Window Error

    When I create a rounded corners 'live shape' I don't get the correct Properties Window, it seems to show 'Mask' properties instead? So therefore I can't edit the corner readius. Sure I am doing something dumb - I must be missing something really obvious?

    You need Photoshop CC to use Live Shape properties. Just remember to use the Path Selection Tool and select the path right on the canvas, not in the layer panel, to see the Live Shape properties again. This re-enables the Live Shape properties.
    Here is a short video with more details if you're interested -> http://www.michalkopec.com/blog

  • Attribute does not appear in WEBUI document properties windows

    I've created a classObject using the xml parser of Ifs' WEBUI:
    <?xml version="1.0" standalone="yes"?>
    <ClassObject>
    <Name>ArquivoXsl</Name>
    <Superclass RefType="Name">Document</Superclass>
    <Description>Classe de Teste do arquivo de layout de Faturas</Description>
    <Abstract>false</Abstract>
    <Final>true</Final>
    <Attributes>
         <Attribute>
    <Name>usuarioCadastro</Name>
    <Datatype>String</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>operadora</Name>
    <Datatype>String</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>modeloFatura</Name>
    <Datatype>String</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>dataInicioValidade</Name>
    <Datatype>Long</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>dataFimValidade</Name>
    <Datatype>Long</Datatype>
    <Required>false</Required>
    </Attribute>
    </Attributes>
    </ClassObject>
    After that we've had to update the class with two new attibutes (String, not required) using the iFS Manager. But now, when i select a document (ArquivoXsl) the properties window in WEBUI does not show that attribute.
    is there a bug in the iFS 9.0.1 version.
    If i create a new class with all these attributes, the WEBUI show them all, even they've being null valued.
    Thanks anyone!

    Hi
    Even after making the attributes as nav attribute in Master data they ought to be marked as navigation attribute on the infoprovider on which you are creating the report.
    If the report is based on the cube that uses company code then you need to check it as navigational att in the cube and incase you have a multiprovider at the top of the cube then you again need to check this attribute as navigational in the multiprovider too.
    Thus by making comp_code_zregion as nav att in the master data you will not see it in the report you need to make it as nav in the report as well as multiprovider incase the report is based on multiprovider
    Thanks
    Puneet

  • The properties window does not open properly for bookmarks.

    When I go to Bookmarks > Bookmark This Page, the window that opens should have the information filled in, correct? Because mine is always blank. The bookmark does get made if I click Done, even with everything looking blank. Also, when I right-click on a bookmark & select Properties, the Properties window that opens only shows the blue bar at the top, nothing else. I can't expand the window. It's been doing this since the previous version that I had. Also, keep in mind that I'm a computer technician, so I know what I'm doing.

    Hi,
    does it happen for all tables or it's related to specific set of tables (or just one table)?
    PS. Did some more research: The error message from the logfile seems to be unrelated to the recalcitrant properties window. Yes, those errors are not related to problem.
    properties dialog won't appear if there are some errors during initialization of dialog and its related to table that cause the problem. You should be able to open dialog for another table.
    It'll be great if you can find out after what changes dialog for some tables doesn't appear.
    Thanks,
    Philip

  • Editing metadata in the file properties window

    Hi,
    I’m using Win XP SP3 on a “normal” Desktop-PC. Since my problem is not connected to hardware I think that description is enough but I do not know which software information is required. So you may ask. Important is maybe that I am running Adobe Acrobat and Reader simultaneously on the same machine.
    The problem: I always changed and edited some of the metadata of my PDF files by bringing up the file properties window of the PDF (right click - properties). Next to the “General”-Tab is the “PDF”-Tab. You can see the title, author, topic, dates and PDF-Version of the document. The first four fields where always editable textboxes. I get used to put in some comments and other important information because I didn’t want to use any tool. Now the complete window is locked. Is this because of the new 9.3.3 Reader update? I updated so many times and never anything like this happened. How can I turn back to the old behavior?
    I do not want to edit those information in Acrobat by choosing File and then propertis because it takes much more time because i have to open the file (if it is one its fine) but if there are more where the same info shall be in I'd like to use the built in function of the properties sheet in windows.
    With kind regards
    DragJo

    At first I asked that question by mistake in the wrong forum so I put in it here. But it has been answered there http://forums.adobe.com/message/2973589
    so I mark this as answered, too.

  • Problem with Page properties window

    In Page properties window,the window is too small some part
    are invisible,example: in apearance i cant access right
    margin,bottom margin,page font exept if i use tab,but i cant see
    what i type in the box.Where I can post picture coz picture is
    milion words?Please help me.

    Page Properties is not resizable. Sounds like the user has
    their system
    fonts set to large.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "SnakEyez02" <[email protected]> wrote in
    message
    news:fl1qqc$p7o$[email protected]..
    > Just upload the picture to some web space and post a
    link.
    >
    > If I am understanding your question correctly though,
    can you not just
    > drag the bottom right corner to make the window bigger?

  • Properties window does not open

    Hi everyone,
    the table property window of my relational diagram refuses to open. The problem seems to be related to the physical data model, and in particular to the structured type MDSYS.SDO_GEOMETRY, that seems to be there by default, but is not used by my diagram (and cannot be deleted either). In the log file I find the entry
    2011-02-21 14:25:19,542 [Thread-14] ERROR XMLTransformationManager - Unable to load object from XML: D:\temp\VDV2\VDV2\rel\9C6B6054-37FA3277E4A3\phys\D9582E4E-2ED963CB9D32\SType\seg_0\47E390DE-0671-C4B1-8428-0F45CBEE18F8.xml
    java.io.FileNotFoundException: D:\temp\VDV2\VDV2\rel\9C6B6054-37FA3277E4A3\phys\D9582E4E-2ED963CB9D32\SType\seg_0\47E390DE-0671-C4B1-8428-0F45CBEE18F8.xml (Das System kann den angegebenen Pfad nicht finden)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openPhysicalModel(Unknown Source)
         at oracle.dbtools.crest.swingui.browser.BrowserPanel$80.run(Unknown Source)
    I can find the following references to the object:
    D:\temp\VDV2\VDV2\datatypes\structuredtype\seg_0\47E390DE-0671-C4B1-8428-0F45CBEE18F8.xml
    2: <StructuredType class="oracle.dbtools.crest.model.design.datatypes.StructuredType" name="SDO_GEOMETRY" id="47E390DE-0671-C4B1-8428-0F45CBEE18F8" directorySegmentName="seg_0">
    D:\temp\VDV2\VDV2\datatypes\subviews\16735978-292B-49DD-F89B-982D97E1D016.xml
    16: <OView class="oracle.dbtools.crest.swingui.datatypes.TVStructuredType" oid="47E390DE-0671-C4B1-8428-0F45CBEE18F8" otype="StructuredType" vid="B645E126-1354-AD82-7505-C25ACA751982">
    D:\temp\VDV2\VDV2\rel\9C6B6054-37FA3277E4A3\phys\D9582E4E-2ED963CB9D32\Objects.local
    3: <object objectType="SType" objectID="47E390DE-0671-C4B1-8428-0F45CBEE18F8" name="SDO_GEOMETRY" seqName="seg_0"/>
    I am quite at a loss. Any ideas how to get rid of the problem?
    Thanks in advance for any help!
    PS. Did some more research: The error message from the logfile seems to be unrelated to the recalcitrant properties window.
    To get the properties window I have to close Datamodeler down and restart it. Quite a nuisance!
    Edited by: qwe15056 on Feb 21, 2011 2:51 PM

    Hi,
    does it happen for all tables or it's related to specific set of tables (or just one table)?
    PS. Did some more research: The error message from the logfile seems to be unrelated to the recalcitrant properties window. Yes, those errors are not related to problem.
    properties dialog won't appear if there are some errors during initialization of dialog and its related to table that cause the problem. You should be able to open dialog for another table.
    It'll be great if you can find out after what changes dialog for some tables doesn't appear.
    Thanks,
    Philip

  • Spry Menu Bar vs Properties Window

    Dreamweaver CS4, Mac OSX 10.6.4
    Not sure how I did it, but when I add a Spry Menu Bar from the Insert>Spry>Spry Menu Bar, I first get the correct dialog, asking Horizontal or Vertical (I choose Horizontal), but it comes up with a Menu Bar with Item 1, Item 2, Item 3, and Item 4. (No further dialog shows up, and Properties Window does NOT change)
    How does one add a Item 5, or sub-menus???
    Every video/help doc refers going to Window>Properties and adding it there. The only problem is, my Properties window looks nothing like the tutorials!!!
    Again, once I choose Horizontal or Vertical, the menu appears, but the Properties window does not change.
    If I click in the same Frameset pane as the menu I just created, it looks like:
    And if I click on a Menu item it looks like:
    It is supposed to look something like:
    Where the Properties window shows the Menu Bar. How do you get to that?
    I've tried reseting Dreamweaver by following the support docs, even resetting the site, and still no luck. The very first time I tried this, the Properties window did show the correct window, but I messed that doc up and trashed it. I tried starting over, and now I have the problem listed above.
    Any help would be greatly appreciated! Thanks!

    vw2ureg wrote:
    I assume that you are working in design view in which case you should click the blue part of the menu to get the correct properties window
    I hope this helps.
    Ben
    Ben, I would be fine if I just could see that blue area! For some reason it will not come up, and that is my problem!  -Bill

  • Changing Buttons in Gallery Folder not Showing Up in Properties Window

    If you change the button size of custom buttons with Photoshop and replace the files in your Gallery folder, how to you get rid of the old buttons in Captivate's properties window?

    I have the same problem with the bmp-files in the gallery captions folder. I made some tests and one was, deleting the caption folder in the gallery. The captions are still accessable in the programm, even in new projects. So where are the gallery files really stored? Any idea?

  • Keyword and description not included in the Page Properties window

    There is no  Keyword and Description option in the Page Properties window (metadata). The only item available is HTML as <head>. How do I get Keyword and Description options included?

    A master page has no keyword or description section, because it isn’t exported as HTML.

  • Invert Chart Scale without set Flipped or Properties Window

    There are a way to Invert Scale on Chart Plot without set the property Flipped programmatically or set the option inverted on properties window?
    I was created a executable program in labview and in any part of code exists a property Flipped and the properties window are not acessible. But one program user
    make the graph sliding from the right to the left, fliped.
    The are any combination of actions with mouse and keyboard to make the scale inverted? There are any combination of property values to do this?
    Solved!
    Go to Solution.

    I know how to invert the scale but I do not want to invert the scale.
    Nowhere in my code I am inverting the scale. Neither the properties window is accessible to the user so that he can do.
    But some user of my program could inadvertently inverting the scale and I can not understand how he did it.

  • Page Properties Window

    Hello everyone.
    I'm watching Total Training DVD for Dreamweaver CS3 (Mac),
    and can't understand something-
    On the DVD, the instructor opens the Page Properties window,
    and it looks considerably different than mine.
    Specifically, mine is missing the settings for page fonts.
    Why is this?
    Thanks in advance for your help.

    Check the category that is selected on the left. Make sure it
    matches what you see in the video.
    If you are still having issues after this post a screenshot
    if you can of what you see.

Maybe you are looking for