mirror of
https://github.com/tuxdotrs/highminded.git
synced 2025-08-23 08:01:03 +05:30
feat: disable context menu and text selection
This commit is contained in:
@@ -4,11 +4,12 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:Class="highminded.ui.controls.ChatUserControl">
|
x:Class="highminded.ui.controls.ChatUserControl">
|
||||||
|
|
||||||
<Grid RowDefinitions="*,Auto" Margin="15" RowSpacing="10">
|
<Grid RowDefinitions="*,Auto" Margin="15" RowSpacing="10">
|
||||||
<HtmlPanel Grid.Row="0" Name="ResultBlock" BaseStylesheet="* { font: Inter; color: white; }" />
|
<HtmlPanel Grid.Row="0" Name="ResultBlock" BaseStylesheet="* { font: Inter; color: white; }"
|
||||||
<TextBox Grid.Row="1" Name="PromptBox" CornerRadius="5" TextWrapping="Wrap"
|
IsContextMenuEnabled="False" IsSelectionEnabled="False" />
|
||||||
KeyDown="PromptBox_OnKeyDown" />
|
<TextBox Grid.Row="1" Name="PromptBox" CornerRadius="5" TextWrapping="Wrap"
|
||||||
</Grid>
|
KeyDown="PromptBox_OnKeyDown" />
|
||||||
|
</Grid>
|
||||||
</UserControl>
|
|
||||||
|
</UserControl>
|
Reference in New Issue
Block a user