Example
public static DependencyProperty myBooleanProperty = DependencyProperty.Register("myBoolean", typeof(CrmBoolean), typeof(CreateCustomEntity));
[CrmInput("My Boolean")]
public CrmBoolean myBoolean { get { return (CrmBoolean)base.GetValue(myBooleanProperty); } set { base.SetValue(myBooleanProperty, value); } } Example
public static DependencyProperty myDateTimeProperty = DependencyProperty.Register("myDateTime", typeof(CrmDateTime), typeof(CreateCustomEntity));
[CrmInput("My DateTime")]
public CrmDateTime myDateTime { get { return (CrmDateTime)base.GetValue(myDateTimeProperty); } set { base.SetValue(myDateTimeProperty, value); } } Example
public static DependencyProperty myDecimalProperty = DependencyProperty.Register("myDecimal", typeof(CrmDecimal), typeof(CreateCustomEntity));
[CrmInput("My Decimal")]
public CrmDecimal myDecimal { get { return (CrmDecimal)base.GetValue(myDecimalProperty); } set { base.SetValue(myDecimalProperty, value); } } Example
public static DependencyProperty myFloatProperty = DependencyProperty.Register("myFloat", typeof(CrmFloat), typeof(CreateCustomEntity));
[CrmInput("My Float")]
public CrmFloat myFloat { get { return (CrmFloat)base.GetValue(myFloatProperty); } set { base.SetValue(myFloatProperty, value); } } Example
public static DependencyProperty myLookupProperty = DependencyProperty.Register("myLookup", typeof(Lookup), typeof(CreateCustomEntity));
[CrmInput("My Lookup")]
[CrmReferenceTarget("account")] public Lookup myLookup { get { return (Lookup)base.GetValue(myLookupProperty); } set { base.SetValue(myLookupProperty, value); } } Example
public static DependencyProperty myMoneyProperty = DependencyProperty.Register("myMoney", typeof(CrmMoney), typeof(CreateCustomEntity));
[CrmInput("My Money")]
public CrmMoney myMoney { get { return (CrmMoney)base.GetValue(myMoneyProperty); } set { base.SetValue(myMoneyProperty, value); } } Example
public static DependencyProperty myNumberProperty = DependencyProperty.Register("myNumber", typeof(CrmNumber), typeof(CreateCustomEntity));
[CrmInput("My Integer")]
public CrmNumber myNumber { get { return (CrmNumber)base.GetValue(myNumberProperty); } set { base.SetValue(myNumberProperty, value); } } Example
public static DependencyProperty myPicklistProperty = DependencyProperty.Register("myPicklist", typeof(Picklist), typeof(CreateCustomEntity));
[CrmInput("My Picklist")]
[CrmAttributeTarget("account", "industrycode")] public Picklist myPicklist { get { return (Picklist)base.GetValue(myPicklistProperty); } set { base.SetValue(myPicklistProperty, value); } } Example
public static DependencyProperty myStatusProperty = DependencyProperty.Register("myStatus", typeof(Status), typeof(CreateCustomEntity));
[CrmInput("My Status")]
[CrmAttributeTarget("account", "statuscode")] public Status myStatus { get { return (Status)base.GetValue(myStatusProperty); } set { base.SetValue(myStatusProperty, value); } } Example
public static DependencyProperty myStringProperty = DependencyProperty.Register("myString", typeof(System.String), typeof(CreateCustomEntity));
[CrmInput("My String")]
public string myString { get { return (string)base.GetValue(myStringProperty); } set { base.SetValue(myStringProperty, value); } } Example
public static DependencyProperty myOutLookupProperty = DependencyProperty.Register("myOutLookup", typeof(Lookup), typeof(CreateCustomEntity));
[CrmOutput("My Output Lookup")]
[CrmReferenceTarget("new_customentity")] public Lookup myOutLookup { get { return (Lookup)base.GetValue(myOutLookupProperty); } set { base.SetValue(myOutLookupProperty, value); } } |