public LASelectPoseByEnumControl(LASelectPoseByEnumControlConstructionParams csParam)
     : base(csParam)
 {
     InitConstruction();
     mChildNodeContainer = LinkNodeStackPanel;
     NodeName            = csParam.NodeName;
     //ActiveValue = csParam.ActiveValue;
     BindingTemplateClassInstanceProperties();
     IsOnlyReturnValue = true;
     InitializeLinkControl(csParam);
 }
        void InitializeLinkControl(LASelectPoseByEnumControlConstructionParams csParam)
        {
            mActiveLinkHandle = ActiveValueHandle;

            mOutLinkHandle           = OutPoseHandle;
            mOutLinkHandle.MultiLink = false;

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


            AddLinkPinInfo("EnumActiveValueHandle", mActiveLinkHandle, null);

            AddLinkPinInfo("OutLinkHandle", mOutLinkHandle, null);

            var childPoseNodeCP = new LASPChildPoseLinkNodeControlConstructionParams()
            {
                IndexValue         = "Default",
                CSType             = CSParam.CSType,
                HostNodesContainer = this.HostNodesContainer,
            };

            mDefaultCtrl = new LASPChildPoseLinkNodeControl(childPoseNodeCP);
            AddChildNode(mDefaultCtrl, LinkNodeStackPanel);

            var childBlendTimeNodeCP = new LASPChildBlendTimeNodeControlConstructionParams()
            {
                IndexValue         = "Default",
                BlendTimeValue     = 0.1f,
                CSType             = CSParam.CSType,
                HostNodesContainer = this.HostNodesContainer,
            };

            mDefaultBlendTimeCtrl        = new LASPChildBlendTimeNodeControl(childBlendTimeNodeCP);
            mDefaultBlendTimeCtrl.Margin = new Thickness(4, 0, 0, 0);
            AddChildNode(mDefaultBlendTimeCtrl, LinkNodeStackPanel);
        }