بكم طريقة بمكنك رسم دائرة
حاول وجرب واكيد رح توصل :)
السلام عليكم ورحمه الله وبركاته
لرسم دائرة عن طريق الكائن Ellipse
<Ellipse
Fill="Green"
Height="200"
Width="200"
StrokeThickness="2"
Stroke="Black"/>تم تعديل هذه المشاركة بواسطة eng_lrn2b في 24 أغسطس 2011 في 15:55
حسنا يبدو انه لم يحدث التفاعل المطلوب
انا وجدت خمسة طرق
هل يوجد طرق آخرى لا اريد customcontrol or skin control
<Grid x:Name="LayoutRoot" Background="White"> <Ellipse Fill="#FF84F914" HorizontalAlignment="Left" Margin="16,99,0,181" Width="200" Height="200"/> <ed:RegularPolygon Fill="#FF84F914" InnerRadius="1" Margin="276,99,264,0" PointCount="100" Stretch="Fill" UseLayoutRounding="False" Width="100" Height="100" VerticalAlignment="Top" d:LayoutOverrides="Height"/> <ed:Arc ArcThickness="1" ArcThicknessUnit="Percent" EndAngle="360" Fill="#FF84F914" HorizontalAlignment="Right" Margin="0,194,44,161" Stretch="None" UseLayoutRounding="False" Width="136"/> <Rectangle Fill="#FF84F914" Height="200" Width="200" Margin="0" RadiusY="100" RadiusX="100" VerticalAlignment="Bottom"/> <ed:Callout AnchorPoint="0.505,0.5" CalloutStyle="Oval" Content="Callout" Fill="#FF84F914" FontSize="14.666999816894531" HorizontalAlignment="Right" Height="102" Margin="0,0,44,45" VerticalAlignment="Bottom" Width="111"/> </Grid>
In bad state
السلام عليكم ورحمه الله وبركاته
جزاك الله كل خير اخى الكريم
لما افهم هذة السطور
اقتباس<ed:RegularPolygon Fill="#FF84F914" InnerRadius="1" Margin="276,99,264,0" PointCount="100" Stretch="Fill" UseLayoutRounding="False" Width="100" Height="100" VerticalAlignment="Top" d:LayoutOverrides="Height"/>
<ed:Arc ArcThickness="1" ArcThicknessUnit="Percent" EndAngle="360" Fill="#FF84F914" HorizontalAlignment="Right" Margin="0,194,44,161" Stretch="None" UseLayoutRounding="False" Width="136"/>
فاين اجد هذة الاشكال
RegularPolygon و ال Arc
تم تعديل هذه المشاركة بواسطة eng_lrn2b في 26 أغسطس 2011 في 01:48
هذه الاشكال حتى تستطيع رسمها يجب
استيراد
xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
<UserControl
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"
xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
mc:Ignorable="d"
x:Class="animation.MainPage"
Width="640" Height="480">
<Grid x:Name="LayoutRoot" Background="White">
<Ellipse Fill="#FF84F914" HorizontalAlignment="Left" Margin="16,99,0,181" Width="200" Height="200"/>
<ed:RegularPolygon Fill="#FF84F914" InnerRadius="1" Margin="276,99,264,0" PointCount="100" Stretch="Fill" UseLayoutRounding="False" Width="100" Height="100" VerticalAlignment="Top" d:LayoutOverrides="Height"/>
<ed:Arc ArcThickness="1" ArcThicknessUnit="Percent" EndAngle="360" Fill="#FF84F914" HorizontalAlignment="Right" Margin="0,194,44,161" Stretch="None" UseLayoutRounding="False" Width="136"/>
<Rectangle Fill="#FF84F914" Height="200" Width="200" Margin="0" RadiusY="100" RadiusX="100" VerticalAlignment="Bottom"/>
<ed:Callout AnchorPoint="0.505,0.5" CalloutStyle="Oval" Content="Callout" Fill="#FF84F914" FontSize="14.666999816894531" HorizontalAlignment="Right" Height="102" Margin="0,0,44,45" VerticalAlignment="Bottom" Width="111"/>
</Grid>
</UserControl>نصيحة :
استخدم ال Blend في رسم الأشكال والحركات
اذا اردت كيفية الاستخدام والرسم يمكنك ذلك من هنا
تم تعديل هذه المشاركة بواسطة X-File في 26 أغسطس 2011 في 11:39
In bad state
السلام عليكم ورحمه الله وبركاته جزاك الله كل خير اخى الكريم وارجو منك ان لا تحرمنا من علمك لاثراء قسم ال SilverLight زادك الله من العلم ما تقر به عينك :)
السلام عليكم ورحمه الله وبركاته
شكرا اخ X-File على المعلومة, كنت حابب ان احل السؤال ولكن بسبب الشهر الكريم تغيبت قليلا .. بالتوفيق ..
.:: Wish to become better and better ::.