View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003364 | NoesisGUI | Studio | public | 2024-06-05 15:37 | 2025-10-29 11:39 |
| Reporter | dstewart | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | no change required | ||
| Product Version | Studio_Alpha | ||||
| Target Version | Studio_Beta | ||||
| Summary | 0003364: ItemContainer Templates Have the Incorrect Visual States Assigned to Them | ||||
| Description | When looking to customise an ItemContainer Template to support custom Visual States presentation, the Visual States that exist by default are not the correct ones for the element in question, and cannot be edited to reflect the functionality supported by ItemContainers. | ||||
| Steps To Reproduce | Repro Steps: 1) Create a Page ...STRUCTURE 1 (Individual Content): ...STRUCTURE 2 (Collection of Individuals): 3) Under the "Data Sets" Data panel, find "MyCollection", and add it, and then Generate Sample Data, then Assign it to the Page. This should be called "My Data Set 001" by default. 8) In the Resources Panel, create a ControlTemplate, and name it "MyItemContainerTemplate" 13) Right-Click on the ListBox, and navigate to Styles->ItemContainer->Create Observe how the ListBox contents now reflect the custom ItemContainer Styling. 15) In the Resources Panel, edit MyItemContainerTemplate by clicking on the pencil icon that appears when hovering over its name in the Resources panel. Observe how the Visual States correspond to the Visual States of a Button, and not that of an ItemContainer. SelectionStates FocusStates | ||||
| Platform | Any | ||||
|
When the ControlTemplate is created, did you assign the TargetType of the template? If you select ListBoxItem in the TargetType list and edit the template VisualStates, they will show the SelectionStates as expected. |
|
|
Sergio's suggestion was the solution. Issues occured due to not selecting a TargetType for the Template. Closing! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-06-05 15:37 | dstewart | New Issue | |
| 2024-06-05 17:03 | sfernandez | Assigned To | => sfernandez |
| 2024-06-05 17:03 | sfernandez | Status | new => feedback |
| 2024-06-05 17:03 | sfernandez | Note Added: 0009658 | |
| 2024-06-06 02:01 | jsantos | Target Version | => Studio_Alpha |
| 2024-06-06 02:02 | jsantos | Note Edited: 0009658 | |
| 2025-04-02 11:09 | sfernandez | Target Version | Studio_Alpha => Studio_Beta |
| 2025-10-29 11:39 | dstewart | Status | feedback => resolved |
| 2025-10-29 11:39 | dstewart | Resolution | open => no change required |
| 2025-10-29 11:39 | dstewart | Note Added: 0011282 |