Note that there are some explanatory texts on larger screens.

plurals
  1. POWPF Automatically Change Width and Height
    primarykey
    data
    text
    <p>I have media element, image, two marquee text and one row text. How can i set for automatically change height and width? For example; WrapPanel or Viewbow, exc.</p> <p>Actually, i'm already done but i used Grid row and column. When i change resolution to good resolution; specially text will be not bigger. will be bigger but not as it should be.</p> <p>I'm really tired about WPF layout! I can't understand :)</p> <p>EDIT: i can use DevExpress WPF products, i have licence.</p> <p>Thanks and regards.</p> <p>EDIT: Current XAML:</p> <p> </p> <pre><code> &lt;RowDefinition Height="422" /&gt; &lt;RowDefinition Height="auto" MinHeight="70"/&gt; &lt;!--&lt;RowDefinition Height="121*"/&gt;--&gt; &lt;RowDefinition/&gt; &lt;/Grid.RowDefinitions&gt; &lt;Grid.ColumnDefinitions&gt; &lt;ColumnDefinition Width="Auto" /&gt; &lt;ColumnDefinition Width="424*"/&gt; &lt;ColumnDefinition Width="129*"/&gt; &lt;/Grid.ColumnDefinitions&gt; &lt;MediaElement Grid.Column="1" Margin="10,20 ,0,0" Name="myMediaElement" Stretch="Fill" Grid.RowSpan="2" &gt; &lt;MediaElement.Triggers&gt; &lt;EventTrigger RoutedEvent="MediaElement.Loaded"&gt; &lt;EventTrigger.Actions&gt; &lt;BeginStoryboard&gt; &lt;Storyboard&gt; &lt;MediaTimeline Source="C:\a\p.mov" Storyboard.TargetName="myMediaElement" RepeatBehavior="Forever" /&gt; &lt;/Storyboard&gt; &lt;/BeginStoryboard&gt; &lt;/EventTrigger.Actions&gt; &lt;/EventTrigger&gt; &lt;/MediaElement.Triggers&gt; &lt;MediaElement.Effect&gt; &lt;DropShadowEffect BlurRadius="6" Color="#FFD8D8D8"/&gt; &lt;/MediaElement.Effect&gt; &lt;/MediaElement&gt; &lt;StackPanel Grid.Column="2" Grid.RowSpan="3"&gt; &lt;Image x:Name="imgLogo" Source="C:\a\a.png" Margin="0,10,0,0" MaxHeight="200" MaxWidth="200" &gt; &lt;Image.Effect&gt; &lt;DropShadowEffect Color="#FFD6CDCD"/&gt; &lt;/Image.Effect&gt; &lt;/Image&gt; </code></pre> <p> </p> <p>DX doest not support this subject. Specially text is really problem for me. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload