Home>
The TextBox in the Popup set in the DataGrid cell cannot be edited.
- MainWindow with Popup settings
MainWindow.xaml - UserControl with TextBox with Popup
TextBoxWithPopup.xaml - Whole code
WpfPopupSample
However, if the DataTemplate set in DataGridTemplateColumn.CellTemplate is written in the same xaml, it can be edited. Specifically, in MainWindow.xaml, comment out
andIf i undo the comment out below, you can edit it as you intended.
How can I make xaml separate and editable?
If i know anyone, please teach me.
-
Answer # 1
Related articles
- c # - aspnet identity user information cannot be obtained from web api
- c # - the 3d model with the motion attached cannot be operated, and the physical judgment with the floor is not applied
- c # - cannot get serializefield in onbegindrag
- c # - libvlcsharpwpfvideoview cannot pick up mouse events
- even if you use findindex while using list of unity c #, the index number cannot be obtained as expected
- c # - wpf i want to display the datagrid with the specified column of the acquired csv
- c # - i want to write to a textbox asynchronously when i click the wpf button
- c# cannot get the value of textbox (mvvm)
- c # - scene cannot be moved using scritable object
- c # - cannot be specified as a relative path to openfiledialoginitialdirectory
- c # - i want to disable button when textbox is blank in reactiveproperty
- c # - null cannot be specified when inserting into the autoincrement column
- c # - the button of the external process cannot be clicked by the handle operation
- opencvsharp cannot be used when creating a library in visual c #
- c # - variable length cannot be used
- c # - [unity] sprite cannot be changed from sprite renderer while animator is on
- c # - cannot add unity int
- c # - gameobject cannot be set active (true);from script
- c # httplistener cannot receive ssl communication
- c # - i want to enter the backspace key in the code due to the line limit of wpf textbox
Related questions
- c # - i want to change the background color and text color of any day with the wpf calendar control
- [c #] i want to acquire the microphone volume in real time with naudio
- c # - how to specify the argument systemwindowsuielement as a string
- c # - i want to specify the event when the enter key is pressed in the textbox in the mvvm of wpf + livet
- c # - i want to display an image set in a two-dimensional array with wpf
- c # - i want to disable button when textbox is blank in reactiveproperty
- c # - read excell in thread
- c # - i can't bind using relativesource when i put contextmenu in between
- c # - it is displayed so that the window overlaps with webbrowser,
- c # - wpf listview checkbox i want to control the active state
I don't know the reason at all, but when I created a similar one with a custom control (define a style in
Generic.xaml
), the caret entered and became editable.Is this going to separate xaml?