Esempio n. 1
0
partial         void OnLoaded()
        {
            if(this.ID == Grid)
            {
                Value = FieldPlaceHolderEnum.Grid;
            }
            else if(this.ID == GridCard)
            {
                Value = FieldPlaceHolderEnum.GridCard;
            }
        }
Esempio n. 2
0
 public static Guid GetFieldPlaceHolderID(FieldPlaceHolderEnum value)
 {
     switch (value)
     {
         case FieldPlaceHolderEnum.GridCard:
             return GridCard;
         case FieldPlaceHolderEnum.Grid:
             return Grid;
     }
     return Guid.Empty;
 }