मैं जानते हैं कि इस से पहले कहा है कि कर दिया गया है, लेकिन मैं जवाब की कोशिश की है @डब्ल्यूपीएफ विंडो में टाइटल बार कैसे गायब हो जाए?
- How to create a WPF Window without a border that can be resized via a grip only?
- How to remove the title bar from a window but keep the border
और न काम, शीर्षक पट्टी पाठ वहाँ बैठता है और मेरे ग्रिड स्थानांतरित करने में असमर्थ im खिड़की के शीर्ष तक ताकि ग्रिड पूरी खिड़की ले ले। मैं डब्ल्यूपीएफ के लिए काफी नया हूं और मैं कुछ चीजों के साथ अच्छा प्रदर्शन कर रहा हूं लेकिन धन्यवाद, धन्यवाद।
विंडो के लिए XAML:
<Window x:Class="PlayWPF.TimerSlideWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="" Height="95" Width="641" WindowStyle="None"
ResizeMode="CanResize" AllowsTransparency="False">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Slider Height="42" HorizontalAlignment="Left" Margin="10,14,0,0"
Name="sldTime" VerticalAlignment="Top" Width="495" />
<TextBox FontSize="18" Height="29" HorizontalAlignment="Left"
Margin="510,10,0,0" Name="txtTime" Text="00:00:00"
TextAlignment="Center" VerticalAlignment="Top" Width="93" />
</Grid>
</Window>
अपने एक्सएएमएल पोस्ट करना चाहिए। मैं इसे पढ़ने के लिए बहुत आलसी हूँ। –
क्या @ हाईकोर ने कहा .... आपके द्वारा लिंक की गई पोस्ट में कोड ठीक काम करता है। –
'विंडो स्टाइल =" कोई नहीं "'वह वही नहीं है जिसे आप ढूंढ रहे थे ??? – Nolonar