के माध्यम से खून बह रहा है मैं WPF में अपना पहला प्रयास कर रहा हूं - मेरे पास इनलाइन सहायता के लिए परिभाषित पॉपअप के साथ एक साधारण रूप है। मैं गोलाकार कोनों का उपयोग कर रहा हूं, और किसी कारण से कोनों के चारों ओर एक काला पृष्ठभूमि खून बह रहा है। मुझे समझ में नहीं आता कि कौन सा तत्व समस्या पैदा कर रहा है।डब्ल्यूपीएफ गोलाकार कॉर्नर पृष्ठभूमि
alt text http://www.awbrey.net/rounded.jpg
मुझे लगता है कि यह कुछ blindingly स्पष्ट जो मैं अभी नहीं दिखाई दे रहा है। यहां एक्सएएमएल का उपयोग कर रहा है:
<Window x:Class="Consent.Client.SubjectNumberEntry"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" FontSize="24"
Title="SubjectNumberEntry" WindowStyle="None" WindowState="Maximized"
xmlns:h="clr-namespace:Consent.Client" KeyDown="windowOuter_KeyDown" Background="White" Name="windowOuter" AllowsTransparency="true" Loaded="Window_Loaded">
<StackPanel Height="400" DockPanel.Dock="Top" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10">
<StackPanel Height="60" Orientation="Horizontal" VerticalAlignment="Center">
<TextBox Name="txtSubjectNumber" Margin="10" Width="400" KeyDown="txtSubjectNumber_KeyDown" h:HelpProvider.HelpString="Enter the subject identifier, or scan their wristband">
<TextBox.ToolTip>This is a textbox</TextBox.ToolTip>
</TextBox>
<Button Name="btnEnter" Margin="10" Width="100" Click="btnEnter_Click">Enter</Button>
<Button Width="50" Name="btnHelp" Margin="10" Click="btnHelp_Click">?</Button>
<Button Width="50" Name="btnExit" Margin="10" Click="btnExit_Click">Exit</Button>
</StackPanel>
<Label Name="lblValue" Margin="10"></Label>
<Popup Placement="Bottom" HorizontalAlignment="Center" VerticalOffset="10" MouseDown="popHelp_MouseDown" PopupAnimation="Fade" Name="popHelp" PlacementTarget="{Binding ElementName=txtSubjectNumber}">
<Border Padding="10" Margin="10" BorderBrush="CornflowerBlue" BorderThickness="1" CornerRadius="10" Background="CornflowerBlue">
<TextBlock FontSize="12" Background="CornflowerBlue">This is the content of the help box.</TextBlock>
</Border>
</Popup>
</StackPanel>
</Window>
कि यह किया, धन्यवाद! – Jason