xaml nested class of the object referenced

 public  class MotorType1 
    { 
        public  class MotorType2 
        { 
            public  class MotorType3 
            { 
                ///  <Summary> 
                /// motor type
                 ///  </ Summary> 
                public  enum MotorType4: byte 
                { 
                    X-axis = 0x01 , 
                    the Y-axis = 0x02 , 
                    Zl-axis = 0x03 , 
                    Z2 of the shaft = 0x06 , 
                } 
            }
        }
    }
//xaml
x:Static enums:MotorType1+MotorType2+MotorType3+MotorType4.X轴

 

Guess you like

Origin www.cnblogs.com/dyfisgod/p/11989517.html