# \#wpf

**URL:** https://forum.alternetsoft.com/tag/wpf/3.md

[Latest](https://forum.alternetsoft.com/latest.md) · [Categories](https://forum.alternetsoft.com/categories.md) · [Tags](https://forum.alternetsoft.com/tags.md)

---

## [How to wire up a ScriptRun.ScriptSource to a DebugCodeEdit?](https://forum.alternetsoft.com/t/how-to-wire-up-a-scriptrun-scriptsource-to-a-debugcodeedit/521)

<div class="topic-metadata">

**Author:** [@tsp\_extern\_pa](https://forum.alternetsoft.com/u/tsp_extern_pa)\
**Replies:** 2\
**Last updated:** [February 6, 2026, 6:22am UTC](https://forum.alternetsoft.com/t/how-to-wire-up-a-scriptrun-scriptsource-to-a-debugcodeedit/521 "2026-02-06T06:22:58Z")

</div>

How can i wire up the ScriptSource from a ScriptRun to a DebugCodeEdit or ScriptCodeEdit, so that i can live change the code and let it compile/run, when i need it to - but let the lexer do its thing automatically, so th…

---

## [A WPF app that loads C# scripts dynamically and allows their debugging in a separate process](https://forum.alternetsoft.com/t/a-wpf-app-that-loads-c-scripts-dynamically-and-allows-their-debugging-in-a-separate-process/464)

<div class="topic-metadata">

**Author:** [@Ihor](https://forum.alternetsoft.com/u/Ihor)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 2:38am UTC](https://forum.alternetsoft.com/t/a-wpf-app-that-loads-c-scripts-dynamically-and-allows-their-debugging-in-a-separate-process/464 "2024-07-31T02:38:40Z")

</div>

Hello, I’m developing a WPF application that dynamically loads C# scripts, where each script is an independent class with its own methods. For example, I have a button that, when clicked, should call method ShowDate(): …

---

## [Stack overflows in Python seem to kill the demo apps](https://forum.alternetsoft.com/t/stack-overflows-in-python-seem-to-kill-the-demo-apps/456)

<div class="topic-metadata">

**Author:** [@nathan.vonada](https://forum.alternetsoft.com/u/nathan.vonada)\
**Replies:** 6\
**Last updated:** [May 22, 2024, 7:19am UTC](https://forum.alternetsoft.com/t/stack-overflows-in-python-seem-to-kill-the-demo-apps/456 "2024-05-22T07:19:10Z")

</div>

I set up a test doing a recursive function call to trigger a stack overflow. cnt = 0 def MyFunction(message, x, y): global cnt cnt = cnt + 1 MyFunction(message + str(cnt), x + 1, y + 1) print ("Starting…

---

## [Comparing two source/text files and display the difference using TextEditor](https://forum.alternetsoft.com/t/comparing-two-source-text-files-and-display-the-difference-using-texteditor/450)

<div class="topic-metadata">

**Author:** [@jenado](https://forum.alternetsoft.com/u/jenado)\
**Replies:** 2\
**Last updated:** [February 27, 2024, 1:58am UTC](https://forum.alternetsoft.com/t/comparing-two-source-text-files-and-display-the-difference-using-texteditor/450 "2024-02-27T01:58:10Z")

</div>

Hi, I just want to inquire if comparing two or more source/text files and display the difference by highlighting or showing the actual difference is now possible and supported using the TextEditor? If yes, kindly give g…

---

## [Roslyn Intellisense](https://forum.alternetsoft.com/t/roslyn-intellisense/447)

<div class="topic-metadata">

**Author:** [@lucid.dion](https://forum.alternetsoft.com/u/lucid.dion)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 6:38am UTC](https://forum.alternetsoft.com/t/roslyn-intellisense/447 "2024-02-07T06:38:27Z")

</div>

Using the WPF Editor and Roslyn, is it still possible to sort the IntelliSense entries? I’d like the items from our own assemblies to be listed first. I found an old post but the example link is broken and I’m not sure i…

---

## [Application object references in AlternetStudio.Python.Wpf demo not showing up in IntelliSense](https://forum.alternetsoft.com/t/application-object-references-in-alternetstudio-python-wpf-demo-not-showing-up-in-intellisense/445)

<div class="topic-metadata">

**Author:** [@nathan.vonada](https://forum.alternetsoft.com/u/nathan.vonada)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 12:38pm UTC](https://forum.alternetsoft.com/t/application-object-references-in-alternetstudio-python-wpf-demo-not-showing-up-in-intellisense/445 "2024-01-22T12:38:22Z")

</div>

Playing with the demo suite, I tried to expose an object from the application to script in the AlternetStudio.Python.Wpf demo. The object is exposed and the methods work but the object does not appear in IntelliSense. …

---

## [TextEditor SetLineHidden and SetLineReadonly Inquiries](https://forum.alternetsoft.com/t/texteditor-setlinehidden-and-setlinereadonly-inquiries/432)

<div class="topic-metadata">

**Author:** [@jenado](https://forum.alternetsoft.com/u/jenado)\
**Replies:** 5\
**Last updated:** [November 29, 2023, 1:45am UTC](https://forum.alternetsoft.com/t/texteditor-setlinehidden-and-setlinereadonly-inquiries/432 "2023-11-29T01:45:59Z")

</div>

Hi, I just want to ask the following Is there a way to show the line(s) in TextEditor as literally read-only lines when using SetLineReadonly? Ex., making the lines greyed-out/disabled. If I use the SetLineHidden,…

---

## [Announcement : AlterNET Studio 9.1 released](https://forum.alternetsoft.com/t/announcement-alternet-studio-9-1-released/423)

<div class="topic-metadata">

**Author:** [@dmitry.medvedev](https://forum.alternetsoft.com/u/dmitry.medvedev)\
**Replies:** 2\
**Last updated:** [November 29, 2023, 12:20am UTC](https://forum.alternetsoft.com/t/announcement-alternet-studio-9-1-released/423 "2023-11-29T00:20:14Z")

</div>

Hi everyone, We’re glad to announce that a new version of AlterNET Studio is available. AlterNET Studio 9.1 is a mid-cycle release focusing on improvements for all our core libraries: Code Editor, Scripter, and Form De…

---

## [VB.Net Roslyn Debugger replaces square brackets with round brackets in display](https://forum.alternetsoft.com/t/vb-net-roslyn-debugger-replaces-square-brackets-with-round-brackets-in-display/427)

<div class="topic-metadata">

**Author:** [@Felix](https://forum.alternetsoft.com/u/Felix)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 6:13am UTC](https://forum.alternetsoft.com/t/vb-net-roslyn-debugger-replaces-square-brackets-with-round-brackets-in-display/427 "2023-11-17T06:13:30Z")

</div>

When debugging a VB script and looking at the value of a string property directly, the debugger replaces square brackets with round brackets. This is only a display issue and does not change the actual value of the prope…

---

## [License File - Application Distribution](https://forum.alternetsoft.com/t/license-file-application-distribution/411)

<div class="topic-metadata">

**Author:** [@AlexIuspa](https://forum.alternetsoft.com/u/AlexIuspa)\
**Replies:** 1\
**Last updated:** [August 12, 2023, 12:24pm UTC](https://forum.alternetsoft.com/t/license-file-application-distribution/411 "2023-08-12T12:24:34Z")

</div>

I am getting the .licx file from the demos and copy over my project. the license was activated, however when I distribute my application still pops up the AlterNet trial version UI. I place the .licx file under the prope…

---

## [Python - Intellisense](https://forum.alternetsoft.com/t/python-intellisense/366)

<div class="topic-metadata">

**Author:** [@AlexIuspa](https://forum.alternetsoft.com/u/AlexIuspa)\
**Replies:** 1\
**Last updated:** [February 6, 2023, 12:07pm UTC](https://forum.alternetsoft.com/t/python-intellisense/366 "2023-02-06T12:07:02Z")

</div>

When importing one of my .NET Assemblies , intellisense does not show the methods in the Assembly. However works for windows one : This is my code import clr import sys clr.AddReference(‘System.Windows.Forms’) from S…

---

## [ScriptCodeEdit Cant display line numbers on gutter](https://forum.alternetsoft.com/t/scriptcodeedit-cant-display-line-numbers-on-gutter/364)

<div class="topic-metadata">

**Author:** [@AlexIuspa](https://forum.alternetsoft.com/u/AlexIuspa)\
**Replies:** 1\
**Last updated:** [January 27, 2023, 5:44am UTC](https://forum.alternetsoft.com/t/scriptcodeedit-cant-display-line-numbers-on-gutter/364 "2023-01-27T05:44:34Z")

</div>

I need to show the line number on the code editor, ScriptCodeEdit but I cant find a way to accomplish though. Can you help?

---

## [I want to use AlterNET Studio's WPF - Lua Parsing](https://forum.alternetsoft.com/t/i-want-to-use-alternet-studios-wpf-lua-parsing/356)

<div class="topic-metadata">

**Author:** [@donovan](https://forum.alternetsoft.com/u/donovan)\
**Replies:** 1\
**Last updated:** [December 30, 2022, 1:09am UTC](https://forum.alternetsoft.com/t/i-want-to-use-alternet-studios-wpf-lua-parsing/356 "2022-12-30T01:09:02Z")

</div>

Hi, I want to use AlterNET Studio’s WPF - Lua Parsing. The LSP server is running on its own, and I want to connect to this server and use Lua Parsing and Intellisense features. Can you tell me how to use it? Thanks …

---

## [Object of type 'Microsoft.CodeAnalysis.Formatting.FormattingOptions+IndentStyle' cannot be converted to type 'Microsoft.CodeAnalysis.Indentation.IndentationOptions'](https://forum.alternetsoft.com/t/object-of-type-microsoft-codeanalysis-formatting-formattingoptions-indentstyle-cannot-be-converted-to-type-microsoft-codeanalysis-indentation-indentationoptions/339)

<div class="topic-metadata">

**Author:** [@horvath.105](https://forum.alternetsoft.com/u/horvath.105)\
**Replies:** 2\
**Last updated:** [November 23, 2022, 6:01am UTC](https://forum.alternetsoft.com/t/object-of-type-microsoft-codeanalysis-formatting-formattingoptions-indentstyle-cannot-be-converted-to-type-microsoft-codeanalysis-indentation-indentationoptions/339 "2022-11-23T06:01:30Z")

</div>

I am getting this error whenever I enter a newline in the wpf code editor. This is a very high severity issue as it effectively makes the editor non functional. \<PackageReference Include="Alternet.Studio.Editor.Wpf" Ve…

---

## [EvaluateExpression doesn't seem to like List\<string\> or Linq methods](https://forum.alternetsoft.com/t/evaluateexpression-doesnt-seem-to-like-list-string-or-linq-methods/338)

<div class="topic-metadata">

**Author:** [@anders.beltoft](https://forum.alternetsoft.com/u/anders.beltoft)\
**Replies:** 2\
**Last updated:** [October 25, 2022, 7:44am UTC](https://forum.alternetsoft.com/t/evaluateexpression-doesnt-seem-to-like-list-string-or-linq-methods/338 "2022-10-25T07:44:17Z")

</div>

I have a window with a TextBox (expr) and a TextBlock (output). When I add StringList class as global script item, evaluateexpression always returns null, even if the StringList isn’t referenced in the expression, eg. 2…

---

## [How to run matplotlib python script?](https://forum.alternetsoft.com/t/how-to-run-matplotlib-python-script/315)

<div class="topic-metadata">

**Author:** [@Tetsu](https://forum.alternetsoft.com/u/Tetsu)\
**Replies:** 18\
**Last updated:** [August 22, 2022, 2:54pm UTC](https://forum.alternetsoft.com/t/how-to-run-matplotlib-python-script/315 "2022-08-22T14:54:21Z")

</div>

Hi, I modified PythonDapDebugger.Wpf.MainWindow.SetupPython() method so that the sample program can recognize the installed Python. When I started the sample program and clicked the Run button, I got the following excep…

---

## [How do I inject C# object to Python code?](https://forum.alternetsoft.com/t/how-do-i-inject-c-object-to-python-code/316)

<div class="topic-metadata">

**Author:** [@Tetsu](https://forum.alternetsoft.com/u/Tetsu)\
**Replies:** 10\
**Last updated:** [August 9, 2022, 3:13pm UTC](https://forum.alternetsoft.com/t/how-do-i-inject-c-object-to-python-code/316 "2022-08-09T15:13:48Z")

</div>

Hi, I have been using Python.net to run a Python script from a C# WPF app. C# code injects necessary C# objects by using “PyScope.Set(variable name, object.ToPython)()” like so: const string Script = "import matplotlib…

---

## [Is it possible to add an "Immediate Window" tab to DebuggerPanelsTabControl where Python REPL works?](https://forum.alternetsoft.com/t/is-it-possible-to-add-an-immediate-window-tab-to-debuggerpanelstabcontrol-where-python-repl-works/320)

<div class="topic-metadata">

**Author:** [@Tetsu](https://forum.alternetsoft.com/u/Tetsu)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 5:19pm UTC](https://forum.alternetsoft.com/t/is-it-possible-to-add-an-immediate-window-tab-to-debuggerpanelstabcontrol-where-python-repl-works/320 "2022-08-03T17:19:57Z")

</div>

DebuggerPanelsTabControl is nice. But it lacks Python REPL capability. I’m requesting to add an “Immediate Window” tab where the Python REPL is active on it and the user could use it as if it were a real Python command b…

---

## [Is it possible to put a WinForms executed from ScriptRun into a container of the main application?](https://forum.alternetsoft.com/t/is-it-possible-to-put-a-winforms-executed-from-scriptrun-into-a-container-of-the-main-application/300)

<div class="topic-metadata">

**Author:** [@mgan](https://forum.alternetsoft.com/u/mgan)\
**Replies:** 4\
**Last updated:** [May 2, 2022, 9:12am UTC](https://forum.alternetsoft.com/t/is-it-possible-to-put-a-winforms-executed-from-scriptrun-into-a-container-of-the-main-application/300 "2022-05-02T09:12:25Z")

</div>

The main application is a WPF desktop app. The app ScriptRun compile and run is a WinForms app. I would like to put the WinForms form into the WindowsFormHost container. Is that possible? Thanks

---

## [Event for debug line](https://forum.alternetsoft.com/t/event-for-debug-line/278)

<div class="topic-metadata">

**Author:** [@dfdsfsdfdaf](https://forum.alternetsoft.com/u/dfdsfsdfdaf)\
**Replies:** 3\
**Last updated:** [December 31, 2021, 8:21am UTC](https://forum.alternetsoft.com/t/event-for-debug-line/278 "2021-12-31T08:21:36Z")

</div>

Is there an event for debugger to send out before/after execute one line?

---

## [Announcement - AlterNET UI first beta released](https://forum.alternetsoft.com/t/announcement-alternet-ui-first-beta-released/256)

<div class="topic-metadata">

**Author:** [@dmitry.medvedev](https://forum.alternetsoft.com/u/dmitry.medvedev)\
**Replies:** 0\
**Last updated:** [November 13, 2021, 10:43am UTC](https://forum.alternetsoft.com/t/announcement-alternet-ui-first-beta-released/256 "2021-11-13T10:43:34Z")

</div>

We would like to announce the very first beta of AlterNET UI - a cross-platform .NET UI Framework that allows creating desktop interfaces with .NET development tools that work and look native under Windows, macOS and Lin…

---

## [Visual caret bug after re-log in Windows](https://forum.alternetsoft.com/t/visual-caret-bug-after-re-log-in-windows/236)

<div class="topic-metadata">

**Author:** [@sergio.aguilar](https://forum.alternetsoft.com/u/sergio.aguilar)\
**Replies:** 4\
**Last updated:** [July 22, 2021, 6:25pm UTC](https://forum.alternetsoft.com/t/visual-caret-bug-after-re-log-in-windows/236 "2021-07-22T18:25:29Z")

</div>

Hello, we noticed a visual bug with with the caret when we work on remote desktop, if we close the session with an editor opened and then we start the remote desktop again, we notice a little change at the font size or …

---

## [How to add a DLL that references a third party](https://forum.alternetsoft.com/t/how-to-add-a-dll-that-references-a-third-party/231)

<div class="topic-metadata">

**Author:** [@liujunhome](https://forum.alternetsoft.com/u/liujunhome)\
**Replies:** 6\
**Last updated:** [June 16, 2021, 6:36am UTC](https://forum.alternetsoft.com/t/how-to-add-a-dll-that-references-a-third-party/231 "2021-06-16T06:36:34Z")

</div>

Hi， I want to manually add a reference to a third-party DLL in the script editor, but I don’t want to use the CodeEditExtensions class in the Demo, because it is too large and troublesome. Currently, I only use ScriptR…

---

## [HORIZONTAL SCROLL NOT SHOWING IN WPF CODE EDITOR](https://forum.alternetsoft.com/t/horizontal-scroll-not-showing-in-wpf-code-editor/149)

<div class="topic-metadata">

**Author:** [@pau.urquizu](https://forum.alternetsoft.com/u/pau.urquizu)\
**Replies:** 5\
**Last updated:** [May 25, 2021, 2:30am UTC](https://forum.alternetsoft.com/t/horizontal-scroll-not-showing-in-wpf-code-editor/149 "2021-05-25T02:30:57Z")

</div>

I am not able to show horizontal scroll bar in the code editor. The demo project does not include scrolling functionality eitgher. Is it possible to scroll horizontally? https://www.screencast.com/t/vb3xlqdXED1

---

## [Wpf edit Scroll bar style](https://forum.alternetsoft.com/t/wpf-edit-scroll-bar-style/228)

<div class="topic-metadata">

**Author:** [@liujunhome](https://forum.alternetsoft.com/u/liujunhome)\
**Replies:** 2\
**Last updated:** [May 24, 2021, 7:40am UTC](https://forum.alternetsoft.com/t/wpf-edit-scroll-bar-style/228 "2021-05-24T07:40:09Z")

</div>

Hi,I have a question about scroll bar style。 I set the Wpf Editor Color Themes style to Dark, but the scroll bar style is still white, which is very ugly. How to set the scroll bar s tyle to Dark mode,thanks!

---

## [SAVE PROJECT](https://forum.alternetsoft.com/t/save-project/29)

<div class="topic-metadata">

**Author:** [@johannes.rist](https://forum.alternetsoft.com/u/johannes.rist)\
**Replies:** 4\
**Last updated:** [February 11, 2021, 12:00am UTC](https://forum.alternetsoft.com/t/save-project/29 "2021-02-11T00:00:00Z")

</div>

Hello, how can i save C# project changes (like a added Assembly Reference) using the dotNetProject class? Is there something similar to the TextEditor class like TextEditor.Source.SaveFile(yourFileName)? Regards, Johann…

---

## [LOAD PROJECT](https://forum.alternetsoft.com/t/load-project/32)

<div class="topic-metadata">

**Author:** [@johannes.rist](https://forum.alternetsoft.com/u/johannes.rist)\
**Replies:** 2\
**Last updated:** [February 3, 2021, 12:00am UTC](https://forum.alternetsoft.com/t/load-project/32 "2021-02-03T00:00:00Z")

</div>

Hello, i would like to use the Project Class to administrate C# Projectes in my Editor. The Assembly Alternet.Common.UI.Wpf.v5 owns the ClassProject with the puplic class member Load(string projectFileName).This method …

---

## [CLOSE TOOLTIP?](https://forum.alternetsoft.com/t/close-tooltip/37)

<div class="topic-metadata">

**Author:** [@lucid.dion](https://forum.alternetsoft.com/u/lucid.dion)\
**Replies:** 3\
**Last updated:** [December 15, 2020, 12:00am UTC](https://forum.alternetsoft.com/t/close-tooltip/37 "2020-12-15T00:00:00Z")

</div>

Is there a method to force the Editor tooltip to close in code? It remains visible if we switch tabs in our application, while the Editor is in a tab.

---

## [Python Parser outlining is not working](https://forum.alternetsoft.com/t/python-parser-outlining-is-not-working/38)

<div class="topic-metadata">

**Author:** [@cgillin](https://forum.alternetsoft.com/u/cgillin)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 12:00am UTC](https://forum.alternetsoft.com/t/python-parser-outlining-is-not-working/38 "2020-12-12T00:00:00Z")

</div>

Hi- I just upgraded from 6.0 to 6.2 and when using the python parser, the outlining is not showing in the editor. I noticed that it is no longer working in the PythonSyntaxParsing demo project either even though AllowOu…

---

## [Setting focus to a line in the script](https://forum.alternetsoft.com/t/setting-focus-to-a-line-in-the-script/65)

<div class="topic-metadata">

**Author:** [@cgillin](https://forum.alternetsoft.com/u/cgillin)\
**Replies:** 2\
**Last updated:** [July 3, 2020, 12:00am UTC](https://forum.alternetsoft.com/t/setting-focus-to-a-line-in-the-script/65 "2020-07-03T00:00:00Z")

</div>

Hi- I am using the DebugCodeEdit control. If a file is already loaded in the control, I can tell it to focus a line using this code and it scrolls to the line and highlights it: EditorControl.Position = start; EditorCon…

[Next page](https://forum.alternetsoft.com/tag/wpf/3.md?match_all_tags=true&page=1&tags%5B%5D=wpf)
