Qiweiye's Blog

About DotNet, WPF

January, 2009

  • Qiweiye's Blog

    DependencyProperty Precedence(4)

    If you want to know that where the value of DependencyProperty comes from, there is a class called DependencyPropertyHelper . 1: public static class DependencyPropertyHelper 2: { 3: // Methods 4: public static ValueSource GetValueSource...
  • Qiweiye's Blog

    DependencyProperty Precedence(3)

    Let’s focused on the coercion of DP value. In the precedence list, the coercion source is the highest. In order to verify it, I have created a class called CoercionButton. 1: public class CoercionButton : Button 2: { 3: static CoercionButton...
  • Qiweiye's Blog

    DependencyProperty Precedence(2)

    One common question is that: Why can’t change the DependencyProperty value after applying animation with a hold behavior and how to solve it? I have create a simple solution to go deep on coercion, animation and local value. You can download it by clicking...
  • Qiweiye's Blog

    DependencyProperty Precedence(1)

    You know that value of DependencyProperty may come from different sources and all there sources has some priority. In this blog, I focus on the precedence list when calculating the value of DependencyProperty. Highest precedence is listed first: From...
Page 1 of 1 (4 items)