| |||||||
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (Permalink) |
| wolter.biz Registriert seit: Jun 2001 Ort: Düsseldorf
Beiträge: 3.273
| Tipp: XAML doppelt nutzen (oder mit ignorierbaren Inhalten versehen)
Hallo zusammen, eine ganz angenehme Eigenheit von XAML (bei WPF und Silverlight) ist, dass man dort eine Größe für die Darstellung zur Entwicklungszeit festlegen kann: HTML-Code: <UserControl x:Class="IsidorApplication.Views.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="955" d:DesignHeight="600" > </UserControl> HTML-Code: <UserControl x:Class="IsidorApplication.Views.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="955" d:DesignHeight="600" > <StackPanel> <Button d:SelbstErdachtesAttribut="Dieses Attribut ist einfach nur so da" Content="Button"/> </StackPanel> </UserControl> Beste Grüße, Sascha. |
| | |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |