Ejemplo n.º 1
0
 public LASelectPoseByIntControl(LASelectPoseByIntControlConstructionParams csParam)
     : base(csParam)
 {
     InitConstruction();
     mChildNodeContainer = LinkNodeStackPanel;
     NodeName            = csParam.NodeName;
     ActiveValue         = csParam.ActiveValue;
     BindingTemplateClassInstanceProperties();
     IsOnlyReturnValue = true;
     InitializeLinkControl(csParam);
 }
Ejemplo n.º 2
0
        void InitializeLinkControl(LASelectPoseByIntControlConstructionParams csParam)
        {
            mActiveLinkHandle = ActiveValueHandle;

            mOutLinkHandle           = OutPoseHandle;
            mOutLinkHandle.MultiLink = false;

            mActiveLinkHandle.NameStringVisible = Visibility.Visible;
            mActiveLinkHandle.NameString        = "ActiveValue";
            mActiveLinkHandle.OnAddLinkInfo    += ActiveValueLinkHandle_OnAddLinkInfo;
            mActiveLinkHandle.OnDelLinkInfo    += ActiveValueLinkHandle_OnDelLinkInfo;


            AddLinkPinInfo("ActiveValueHandle", mActiveLinkHandle, null);

            AddLinkPinInfo("OutLinkHandle", mOutLinkHandle, null);
        }