Browse by Tags

Tagged Content List
  • Blog Post: WPF ـ تعيين خاصية بعد تحريكها بلوحة العمل ـ

    < هذه مقاطع من مواضيع أعجبتني من مكتبة تعليمات فيجوال ستوديو 2010, أرجو أن تنال إعجابكم. المقالة الأساسية موجودة هنا > في بعض الحالات، أنه قد يظهر أنك لا تستطيع تغيير القيمة الخاصية بعد قد تم تحريكها . مثال في المثال التالي Storyboard يُستخدم لتحريك اللون SolidColorBrush. يتم تشغيل...
  • Blog Post: WPF Sample for Drawing Text

    In my earlier post , I mentioned the different consideration when dealing with rtl (or Bidi) text. This time I’m going to post the sample with more in-depth discussion. 1) I created a WPF Windows application: RTLApplication. 2) Created a CustomControl and called it RTL Control. This is the rendering...
  • Blog Post: Developing Arabic WPF applications – Part 4

    Drawing Text using FormattedText FormattedText Class offers low-level method to manage drawing text in Windows Presentation Foundation (WPF). It processes text as graphical elements, instead of text in controls such as the TextBox and TextBlock, which implement the FlowDirection model or the XPS document...
  • Blog Post: Developing Arabic WPF applications – Part 3

    I talked before about changing the input language in a textbox in Windows Forms but what about WPF? In WPF, you should use the InputLanguageManager class. You can use it in either the code or in the XAML markup. I wrote a sample to demo an application with default language set to Arabic(Egypt). ...
  • Blog Post: Developing Arabic WPF applications – Part 2

    There are a few cases where FlowDirection does not behave as expected. This blog covers two of these exceptions. Image An Image represents a control that displays an image. It can be used with a Source property that defines the uniform resource identifier (URI) of the Image to display. Unlike...
  • Blog Post: Developing Arabic WPF applications – Part 1

    I’ll talk today about developing Arabic applications in Windows Presentation Foundation (WPF). The main property for right-to-left display is FlowDirection . FlowDirection is similar to the Windows Forms RightToLeft , but not exactly the same. FlowDirection simply sets the direction and the layout of...
Page 1 of 1 (6 items)