Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Style-ing the Spell Check Dialog (WPF) - RapidSpell WPF - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
rutnika
#1 Posted : Thursday, August 9, 2012 6:03:54 PM
Rank: Member

Groups: Registered

Joined: 8/9/2012
Posts: 1
The application I'm using has styles build into the Application's Merged dictionaries so that any windows (including 3rd party ones) get the same style. For the most part this is fine, however all of the 'white space' in the RapidSpellDialog is not getting the correct background color. What type of control is making up the main 'background' of the dialog? I've tried UserControl and StackPanel so far.
Jim
#2 Posted : Thursday, August 9, 2012 7:51:59 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Hi, it's a Grid,

Code:


<Window x:Class="Keyoti.RapidSpell.Wpf.DialogViews.WPF"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:ClassModifier="internal"
    Title="WPF" Height="308.821" Width="361" MinWidth="330.832" MinHeight="308.821">
    <Grid>
        <RichTextBox Margin="11.817,28.179,120,161.976" Name="queryWordPane" VerticalScrollBarVisibility="Auto"  SelectionChanged="queryWordPane_SelectionChanged"  PreviewKeyDown="queryWordPane_KeyDown" PreviewTextInput="queryWordPane_PreviewTextInput" AcceptsReturn="False" />
        <Button Height="23" HorizontalAlignment="Right" Margin="0,28.179,11.147,0" Name="ignoreButton" VerticalAlignment="Top" Width="103">Button</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,58.029,11.147,0" Name="ignoreAllButton" VerticalAlignment="Top" Width="103">Button</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,87.179,10.908,0" Name="addButton" VerticalAlignment="Top" Width="103">Button</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,10.908,106.234" Name="changeButton" VerticalAlignment="Bottom" Width="103">Button</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,10.908,76.705" Name="changeAllButton" VerticalAlignment="Bottom" Width="103" MinWidth="75">Button</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,11.147,10.672" Name="cancelCheckButton" VerticalAlignment="Bottom" Width="103">Button</Button>
        <ListBox  Height="81.374" Margin="11.817,0,120,47.897" Name="suggestionsList" VerticalAlignment="Bottom" ScrollViewer.VerticalScrollBarVisibility="Visible" />
        <Label Height="28" Name="notInDictionaryLabel" VerticalAlignment="Top" HorizontalAlignment="Left" Width="327">Label</Label>
        <Label Margin="-0.909,0,0,128.325" Name="suggestionsLabel" HorizontalAlignment="Left" Width="220" Height="27.478" VerticalAlignment="Bottom">Label</Label>
        <CheckBox Height="19" Margin="0,5,120.06,0" Name="suggestionFinderCheckBox" VerticalAlignment="Top" HorizontalAlignment="Right" Width="18" Visibility="Hidden">CheckBox</CheckBox>
        <Button Height="23" Margin="0,0,120,10" Name="undoButton" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="69.814">Button</Button>
        <Button Height="23" HorizontalAlignment="Right" Margin="0,0,197,10" Name="optionsButton" VerticalAlignment="Bottom" Width="69.814">Button</Button>
    </Grid>
</Window>


FYI, you have access to the source for the dialog, if need be through our custom GUI mechanism
http://keyoti.com/produc...%20User%20Interface.htm

Best
Jim

-your feedback is helpful to other users, thank you!

Evaluation Downloads
-your feedback is helpful to other users, thank you!


Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.