Let \mathfrak{f} be a compact vector field of class C^{1} on a real Hilbert space \mathbb{H} . Denote by \mathbb{B} the open unit ball of \mathbb{H} and by \mathbb{S}= \partial\mathbb{B} the unit sphere. Given a point q \notin \mathfrak{f}(\mathbb{S}) , consider the self-map of \mathbb{S} defined by \mathfrak{f}_{q}^{\partial}(p)= \frac{\mathfrak{f}(p)-q}{\|\mathfrak{f}(p)-q\|}, \quad p \in \mathbb{S}. If \mathbb{H} is finite dimensional, then \mathbb{S} is an orientable, connected, compact differentiable manifold. Therefore, the Brouwer degree, \deg_{\mathrm{Br}}(\mathfrak{f}_{q}^{\partial}) is well defined, no matter what orientation of \mathbb{S} is chosen, assuming it is the same for \mathbb{S} as domain and codomain of \mathfrak{f}_{q}^{\partial} . This degree may be considered as a modern reformulation of the Kronecker index of the map \mathfrak{f}_{q}^{\partial} . Let \deg_{\mathrm{Br}}(\mathfrak{f},\mathbb{B},q) denote the Brouwer degree of \mathfrak{f} on \mathbb{B} with target q . It is known that one has the equality \deg_{\mathrm{Br}}(\mathfrak{f},\mathbb{B},q) = \deg_{\mathrm{Br}}(\mathfrak{f}_{q}^{\partial}). Our purpose is an extension of this formula to the infinite dimensional context. Namely, we will prove that \deg_{\mathrm{LS}}(\mathfrak{f},\mathbb{B},q) = \deg_{\mathrm{bf}}(\mathfrak{f}_{q}^{\partial}), where \deg_{\mathrm{LS}}(\cdot) denotes the Leray–Schauder degree and \deg_{\mathrm{bf}}(\cdot) is the degree earlier introduced by M. Furi and the first author, which extends, to the infinite dimensional case, the Brouwer degree and the Kronecker index. In other words, here, we extend to the Leray–Schauder degree the boundary dependence property which holds for the Brouwer degree in the finite dimensional context.