View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003556 | NoesisGUI | C++ SDK | public | 2024-07-29 12:28 | 2024-07-29 16:50 |
| Reporter | JinFox | Assigned To | sfernandez | ||
| Priority | normal | Severity | feature | ||
| Status | feedback | Resolution | open | ||
| Product Version | 3.2.4 | ||||
| Target Version | 3.2 | ||||
| Summary | 0003556: [Feature request] Custom rich text tag supporting both Content and parameters | ||||
| Description | Hi, following my ticket https://www.noesisengine.com/bugs/view.php?id=3529 we established a recommended way to extend special Span with content to modify the text more than what style could allow to do (i.e. Lowercase etc) One of the missing feature for this to be complete would be to inject dynamic parameters for those spans. I can create a custom SpecialCase : public Span class and have it dealt there, but the current code would be required to inject Type=PascalCase into the dependency property which is not happening at the moment. Would it be possible to add a support to those dynamic parameters to custom tags like the following? | ||||
| Platform | Any | ||||
| related to | 0003529 | assigned | sfernandez | Support Rich text extension to add support For text content modification (e.g: Lowercase, Uppercase, etc) |
|
As @maherne detailed in its answer to ticket https://www.noesisengine.com/bugs/view.php?id=3529, if your new SpecialCase type exposes a dependency property to indicate different case modes, you can just define different styles for each of the modes: <Style x:Key="PascalCase" TargetType="{x:Type local:SpecialCase}">
This uses <PascalCase><bold>pascal</>case</> and this <CamelCase><bold>camel</>case</> There is no need to extend current implementation of RichText to support parameters in style tags. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-07-29 12:28 | JinFox | New Issue | |
| 2024-07-29 14:06 | jsantos | Relationship added | related to 0003529 |
| 2024-07-29 14:07 | jsantos | Assigned To | => sfernandez |
| 2024-07-29 14:07 | jsantos | Status | new => assigned |
| 2024-07-29 14:07 | jsantos | Target Version | => 3.2 |
| 2024-07-29 16:49 | sfernandez | Status | assigned => feedback |
| 2024-07-29 16:49 | sfernandez | Note Added: 0009842 | |
| 2024-07-29 16:49 | sfernandez | Note Edited: 0009842 | |
| 2024-07-29 16:49 | sfernandez | Note Edited: 0009842 | |
| 2024-07-29 16:50 | sfernandez | Note Edited: 0009842 |